diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-25 11:55:20 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-06-25 11:55:20 -0700 |
commit | c4c53bb2f7c0a05e9795da46ea3ddc17b2ef0c78 (patch) | |
tree | f9146fb3eddf77e67618c988044936df5031456a /lib/memxor.c | |
parent | ab867f51781b5153e6e4e88a6212174d7233df3a (diff) | |
download | gnulib-c4c53bb2f7c0a05e9795da46ea3ddc17b2ef0c78.tar.gz |
nanosleep: simplify carrying
* lib/nanosleep.c (nanosleep): Use the requested tv_nsec for the
first call to the underyling nanosleep, not for the last one.
This doesn't fix any bugs, but it simplifies the computation of
the remaining delay. Found while auditing integer overflow issues.
Diffstat (limited to 'lib/memxor.c')
0 files changed, 0 insertions, 0 deletions