Re: nanosleep modifying second parameter on success

2012-05-12 Thread Samuel Thibault
Simon Josefsson, le Thu 04 Aug 2011 12:10:43 +0200, a écrit : > As reported as 2) in this mail: > > https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html > > it seems the nanosleep function modifies the second parameter on > success. > > This behaviour doesn't seem consistent with

Re: nanosleep modifying second parameter on success

2011-08-05 Thread Samuel Thibault
Simon Josefsson, le Thu 04 Aug 2011 12:10:43 +0200, a écrit : > it seems the nanosleep function modifies the second parameter on > success. > > This behaviour doesn't seem consistent with the specification at > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html > > It see

nanosleep modifying second parameter on success

2011-08-05 Thread Simon Josefsson
As reported as 2) in this mail: https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00027.html it seems the nanosleep function modifies the second parameter on success. This behaviour doesn't seem consistent with the specification at http://pubs.opengroup.org/onlinepubs/9699919799/function