Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time

2013-03-16 Thread Christian Kellermann
* Jim Ursetto [130316 20:29]: > If this patch was acceptable, could someone please apply it? Thanks. Good for me! I have pushed it. Thanks and sorry it took so long... -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothi

Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time

2013-03-16 Thread Jim Ursetto
If this patch was acceptable, could someone please apply it? Thanks. Jim On Feb 19, 2013, at 9:45 AM, Jim Ursetto wrote: > No, it returns 0 to indicate that zero seconds of sleep time remain (it was > not interrupted), just like posix sleep. See the UNIX code, the Windows code > prior to the

Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time

2013-02-19 Thread Jim Ursetto
No, it returns 0 to indicate that zero seconds of sleep time remain (it was not interrupted), just like posix sleep. See the UNIX code, the Windows code prior to the regression, sleep(3), and the chicken docs. Jim On Feb 19, 2013, at 4:34, Peter Bex wrote: > On Tue, Feb 19, 2013 at 02:03:44AM

Re: [Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time

2013-02-19 Thread Peter Bex
On Tue, Feb 19, 2013 at 02:03:44AM -0600, Jim Ursetto wrote: > sleep accepts any type arg but should accept only fixnums; also fix a > regression in be44f5328. Shouldn't it return undefined rather than 0? This seems like a bug in the original implementation. Cheers, Peter -- http://www.more-ma

[Chicken-hackers] [PATCH] Ensure sleep seconds is a fixnum on Windows; also, don't halve sleep time

2013-02-19 Thread Jim Ursetto
sleep accepts any type arg but should accept only fixnums; also fix a regression in be44f5328. 0001-Ensure-sleep-seconds-is-a-fixnum-on-Windows-also-don.patch Description: Binary data ___ Chicken-hackers mailing list Chicken-hackers@nongnu.org https:/