This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ports/5209] New: return from times() system call treated as errno


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]