summaryrefslogtreecommitdiff
path: root/doc/posix-functions
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-09-04 13:26:19 +0200
committerBruno Haible <bruno@clisp.org>2022-09-04 13:36:18 +0200
commitbfcd9671696d17f980113eae2c6b2ebbe77115e6 (patch)
tree0d8617a3f965d2262717d92294ad8c93cce8dd70 /doc/posix-functions
parent73ea8982c33a42876b8cf66bb5a7bb0167451a50 (diff)
downloadgnulib-bfcd9671696d17f980113eae2c6b2ebbe77115e6.tar.gz
nanosleep: Work around bug on newer 32-bit mingw.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Test for 32-bit mingw bug. * tests/test-nanosleep.c (main): Add another test. * doc/posix-functions/nanosleep.texi: Mention the mingw bug.
Diffstat (limited to 'doc/posix-functions')
-rw-r--r--doc/posix-functions/nanosleep.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-functions/nanosleep.texi b/doc/posix-functions/nanosleep.texi
index 8ede0b01f9..be54aef571 100644
--- a/doc/posix-functions/nanosleep.texi
+++ b/doc/posix-functions/nanosleep.texi
@@ -18,6 +18,10 @@ Linux 64-bit, Solaris 64-bit.
@item
This function cannot sleep longer than 49.7 days on some platforms:
Cygwin 1.5.x.
+@item
+This function does not fail when passed a negative nanosecond value on some
+platforms:
+newer 32-bit mingw.
@end itemize
Portability problems not fixed by Gnulib: