patch: sleep/nanosleep bug

Eric Blake ebb9@byu.net
Sat Dec 19 00:57:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 12/17/2009 7:04 AM:
> According to Christopher Faylor on 12/16/2009 9:08 AM:
>>> How about the following, then?  Same changelog.
>> It wonder if your while (!done) loop could be expressed as a for loop but
>> it isn't enough of an issue to block inclusion of this patch.
> 
>> So, thanks for the patch and please check in.  This will then go into 1.7.2.
> 
> Thanks; committed now.

And I botched it.  I'm pushing this followup as obvious (HIRES_DELAY_MAX
is in ms, not s).

2009-12-18  Eric Blake  <ebb9@byu.net>

	* signal.cc (nanosleep): Fix bug in previous patch.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkssJQwACgkQ84KuGfSFAYACYwCgx4ae754jxdms7BBIkNTPiK2O
o4wAnRkd86VviazT0jqQJleUjvTZ5Ti8
=epx6
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygwin.patch34
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20091219/57116f73/attachment.ksh>


More information about the Cygwin-patches mailing list