OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da7d891
)
In unistd.h, getpgrp() is redirected to __getpgid(), but
author
Eric Andersen
<andersen@codepoet.org>
Mon, 22 Dec 2003 10:47:04 +0000
(10:47 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 22 Dec 2003 10:47:04 +0000
(10:47 -0000)
we did not have a __getpgid(). Fix that.
libc/sysdeps/linux/common/syscalls.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/syscalls.c
b/libc/sysdeps/linux/common/syscalls.c
index
242864c
..
3c08a85
100644
(file)
--- a/
libc/sysdeps/linux/common/syscalls.c
+++ b/
libc/sysdeps/linux/common/syscalls.c
@@
-1477,12
+1477,14
@@
_syscall4(int, quotactl, int, cmd, const char *, special , int, id, caddr_t, add
//#define __NR_getpgid 132
#ifdef L___syscall_getpgid
#define __NR___syscall_getpgid __NR_getpgid
+#define __FAVOR_BSD
static inline
_syscall1(__kernel_pid_t, __syscall_getpgid, __kernel_pid_t, pid);
-pid_t getpgid(pid_t pid)
+pid_t
__
getpgid(pid_t pid)
{
return(__syscall_getpgid(pid));
}
+weak_alias(__getpgid, getpgid);
#endif
//#define __NR_fchdir 133