[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc-cvs
Subject: [git commit branch/0.9.33] libc/sysdeps: dup3: check for __NR_dup3 since older kernels/arches lack i
From: vapier () gentoo ! org (Mike Frysinger)
Date: 2012-11-30 1:12:14
Message-ID: 20121130011311.B82199937F () busybox ! osuosl ! org
[Download RAW message or body]
commit: http://git.uclibc.org/uClibc/commit/?id=6cdef8bfcb287711dfcc27557b46028d890676b6
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
libc/sysdeps/linux/common/dup3.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libc/sysdeps/linux/common/dup3.c b/libc/sysdeps/linux/common/dup3.c
index 539c071..8a57785 100644
--- a/libc/sysdeps/linux/common/dup3.c
+++ b/libc/sysdeps/linux/common/dup3.c
@@ -10,4 +10,6 @@
#include <sys/syscall.h>
#include <unistd.h>
+#if defined(__NR_dup3)
_syscall3(int, dup3, int, oldfd, int, newfd, int, flags)
+#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic