summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uClibc-0.9.33-dup3.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-11 18:41:06 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-14 23:08:07 +0200
commitd6c110e77fce6ebaf79b02caa69f1f5659f86100 (patch)
tree8d741cc8c6d6f030463960b41dc8aa78e732de09 /toolchain/uClibc/uClibc-0.9.33-dup3.patch
parent11c06f763423dabcf1cfe1c8b41c384a4b884222 (diff)
downloadbuildroot-novena-d6c110e77fce6ebaf79b02caa69f1f5659f86100.tar.gz
buildroot-novena-d6c110e77fce6ebaf79b02caa69f1f5659f86100.zip
toolchain/uClibc: bump 0.9.33.x series to version 0.9.33.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.33-dup3.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.33-dup3.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.33-dup3.patch b/toolchain/uClibc/uClibc-0.9.33-dup3.patch
deleted file mode 100644
index 66b419e2b..000000000
--- a/toolchain/uClibc/uClibc-0.9.33-dup3.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From: Jonas Bonn <jonas@southpole.se>
-Subject: [RFC PATCH 16/38] Add dup3 syscall
-Date: Tue, 6 Sep 2011 10:30:40 +0200
-
-Signed-off-by: Jonas Bonn <jonas@southpole.se>
----
- include/unistd.h | 4 ++++
- libc/sysdeps/linux/common/dup3.c | 15 +++++++++++++++
- 2 files changed, 19 insertions(+), 0 deletions(-)
- create mode 100644 libc/sysdeps/linux/common/dup3.c
-
-diff --git a/include/unistd.h b/include/unistd.h
-index 9568790..7c2fa4a 100644
---- a/include/unistd.h
-+++ b/include/unistd.h
-@@ -513,6 +513,10 @@ extern int dup (int __fd) __THROW __wur;
- extern int dup2 (int __fd, int __fd2) __THROW;
- libc_hidden_proto(dup2)
-
-+/* Duplicate FD to FD2, closing FD2 and making it open on the same file. */
-+extern int dup3 (int __fd, int __fd2, int __flags) __THROW;
-+libc_hidden_proto(dup3)
-+
- /* NULL-terminated array of "NAME=VALUE" environment variables. */
- extern char **__environ;
- #ifdef __USE_GNU
-diff --git a/libc/sysdeps/linux/common/dup3.c b/libc/sysdeps/linux/common/dup3.c
-new file mode 100644
-index 0000000..5fdab2e
---- /dev/null
-+++ b/libc/sysdeps/linux/common/dup3.c
-@@ -0,0 +1,15 @@
-+/* vi: set sw=4 ts=4: */
-+/*
-+ * dup3() for uClibc
-+ *
-+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
-+ *
-+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
-+ */
-+
-+#include <sys/syscall.h>
-+#include <unistd.h>
-+
-+
-+_syscall3(int, dup3, int, oldfd, int, newfd, int, flags)
-+libc_hidden_def(dup3)
---
-1.7.5.4
-
-_______________________________________________
-uClibc mailing list
-uClibc@uclibc.org
-http://lists.busybox.net/mailman/listinfo/uclibc