This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, the time() syscall wrapper on i386 is inconsistent with the time() implementations from time/time.c and sysdeps/unix/time.c as used on other architectures. On i386 time() returns in error case -errno, in the other implementations for the other architectures -1 is returned and errno adjusted. So I propose the following patch to get i386 back in sync with the other architectures and make it conforming to POSIX: 2005-12-16 Thorsten Kukuk <kukuk@suse.de> * sysdeps/unix/sysv/linux/i386/syscalls.list (time): Remove E from Args. --- sysdeps/unix/sysv/linux/i386/syscalls.list 10 Mar 2004 08:38:15 -0000 1.19 +++ sysdeps/unix/sysv/linux/i386/syscalls.list 16 Dec 2005 13:58:21 -0000 @@ -5,5 +5,5 @@ vm86 - vm86 i:ip __vm86 vm86@@GLIBC_2.3.4 oldgetrlimit EXTRA getrlimit i:ip __old_getrlimit getrlimit@GLIBC_2.0 oldsetrlimit EXTRA setrlimit i:ip __old_setrlimit setrlimit@GLIBC_2.0 -time - time Ei:p time +time - time i:p time waitpid - waitpid Ci:ipi __waitpid waitpid __libc_waitpid -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SUSE LINUX Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |