This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/5209] New: return from times() system call treated as errno
- From: "Alan dot Wood at vectek dot co dot nz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Oct 2007 21:15:48 -0000
- Subject: [Bug ports/5209] New: return from times() system call treated as errno
- Reply-to: sourceware-bugzilla at sourceware dot org
linux times() system call return values in the range -2047 to -1 are converted
to errno values with a -1 returned.
Linux version 2.6.18.1
gcc version 3.4.4
The Linux kernel returns unsigned 32 bit clock tick value from the times()
system call.
Fix looks like changing the syscalls.list file entry from i:p to Ei:p so that
the errno processing is not used.
I am unsure which syscalls.list file should be changed.
--
Summary: return from times() system call treated as errno
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ports
AssignedTo: roland at gnu dot org
ReportedBy: Alan dot Wood at vectek dot co dot nz
CC: glibc-bugs at sources dot redhat dot com
GCC target triplet: x86-*-linux-
http://sourceware.org/bugzilla/show_bug.cgi?id=5209
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.