1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

(__getgroups): Fix the error condition check for the return value of getgroups32.

This commit is contained in:
Ulrich Drepper
2003-03-26 18:15:57 +00:00
parent 441ee04334
commit da058e4542
3 changed files with 16 additions and 5 deletions

View File

@ -35,6 +35,7 @@
/* Linux/SPARC uses a different trap number */
#undef PSEUDO
#undef PSEUDO_NOERRNO
#undef ENTRY
#define ENTRY(name) \
@ -101,10 +102,20 @@ SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler) \
nop; \
SYSCALL_ERROR_HANDLER
#define PSEUDO_NOERRNO(name, syscall_name, args) \
.text; \
ENTRY(name); \
LOADSYSCALL(syscall_name); \
ta 0x6d
#undef PSEUDO_END
#define PSEUDO_END(name) \
.size name,.-name
#undef PSEUDO_END_NOERRNO
#define PSEUDO_END_NOERRNO(name) \
.size name,.-name
#undef END
#define END(name) \
.size name,.-name