Commit graph

16 commits

Author SHA1 Message Date
Alex Shinn
12b25c01ba Giving a proper OOM error on arithmetic-shift with a huge shift. 2014-08-03 20:45:26 +09:00
Alex Shinn
a54c49d48a initstate_r is a glibc extension 2014-07-31 22:49:40 +09:00
Alex Shinn
7d8098b549 Checking for __GNU_LIBRARY__ to use random_r. 2014-07-30 22:46:53 +09:00
Alex Shinn
a8798e24c3 Adding a note about sorting containers. 2014-07-27 16:10:30 +09:00
Alex Shinn
bb3ac57b6d Fixing bitwise-and for negative bignums
(necessary for sha2 implementation on 32-bit machines).
2014-06-29 11:28:56 +09:00
Alex Shinn
bbd8827bb2 Fixing a long-standing typo in lset<=.
Fixes issue #224.
2014-06-20 07:56:39 +09:00
Alex Shinn
22246a6ac8 Using bytevectors for random state. 2014-05-28 23:17:53 +09:00
Alex Shinn
09221ec87d Fixing possible overflow in random bignums.
Fixes issue #222.
2014-05-28 08:34:36 +09:00
Alex Shinn
c8e1f4c18c Mark char* input parameters const where applicable. 2014-05-14 21:30:35 +09:00
Alex Shinn
d0155f4bf2 random-source-pseudo-randomize! takes two seed arguments.
Fixes issue #219.
2014-05-14 21:08:11 +09:00
Alex Shinn
ea6e44f7d0 Distinguishing general read errors from incomplete input read errors.
Using these to allow multi-line input in edit-line.
2014-05-05 21:05:02 +09:00
Alex Shinn
ce24f67224 Making #! a line comment only if followed by whitespace or /,
otherwise we report a bad symbol for anything other than (no-)fold-case.
2014-05-05 14:24:52 +09:00
Alex Shinn
1d9ef7c3a0 Fixing SRFI 38 reading trailing #; comment after dotted tail. 2014-04-08 08:08:31 +09:00
Alex Shinn
1678c6aa47 Fixing bit-set? on fixnums with larger than word-size index.
Fixing some cases of arithmetic shift on bignums with zero
modulo word-sized offset.
2014-02-26 20:03:28 +09:00
Alex Shinn
91f8516a89 Fixing right shift of a fixnum by > word size.
Fixes bug report from Miroslav Urbanek.
2014-02-26 07:16:01 +09:00
Alex Shinn
8b5eb68238 File descriptors maintain a reference count of ports open on them
They can be close()d explicitly with close-file-descriptor, and
will close() on gc, but only explicitly closing the last port on
them will close the fileno.  Notably needed for network sockets
where we open separate input and output ports on the same socket.
2014-02-20 22:32:50 +09:00