2.5.51 nanosleep fails
nanosleep fails after being interrupted:
[...]fstat64(3, {st_mode=S_IFREG|0644, st_size=5444, ...}) = 0 gettimeofday({1039564416, 703895}, NULL) = 0nanosleep({1, 0}, NULL) = 0fstat64(3, {st_mode=S_IFREG|0644, st_size=5444, ...}) = 0 gettimeofday({1039564417, 777452}, NULL) = 0 nanosleep({1, 0},
[1]+ Stopped strace tail -f /var/log/uucp/Log
md@wonderland:~$ fg strace tail -f /var/log/uucp/Log <unfinished ...> --- SIGCONT (Continued) --- <... nanosleep resumed> 0) = -1 ENOSYS (Function not implemented)
This can be reliably reproduced.
Linux wonderland 2.5.51 #13 Tue Dec 10 14:15:49 CET 2002 i686 unknown unknown GNU/Linux
Signature · 2 lines
ciao, Marco