[Bug 247269] New: clock_nanosleep return code incorrect when linking with libpthread.so
https://bugzilla.novell.com/show_bug.cgi?id=247269
Summary: clock_nanosleep return code incorrect when linking with
libpthread.so
Product: openSUSE 10.2
Version: Final
Platform: i686
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: bart.vanassche@gmail.com
QAContact: qa@suse.de
Compile the program included below with the command listed at the end, and run
it. An assertion failure will be reported, while the program should terminate
without complaining.
#include <cassert>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include
https://bugzilla.novell.com/show_bug.cgi?id=247269 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |pbaudis@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=247269 pbaudis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #1 from pbaudis@novell.com 2007-02-25 20:15 MST ------- clock_nanosleep() returns 4 here, which is correct - it's EINTR, as specified in clock_nanosleep() specification (manpage and SUS): "If the clock_nanosleep() function returns because it has been interrupted by a signal, it shall return the corresponding error value." Or is there some other document saying that it should return some negative value? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com