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
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
c8e1f4c18c
Mark char* input parameters const where applicable.
2014-05-14 21:30:35 +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