diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/dup3.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/dup3.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/dup3.patch b/meta/recipes-core/uclibc/uclibc-git/dup3.patch deleted file mode 100644 index 481f23b2c4..0000000000 --- a/meta/recipes-core/uclibc/uclibc-git/dup3.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | Implement dup3() | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Index: git/libc/sysdeps/linux/common/dup3.c | ||
6 | =================================================================== | ||
7 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
8 | +++ git/libc/sysdeps/linux/common/dup3.c 2012-01-27 07:40:52.802900849 -0800 | ||
9 | @@ -0,0 +1,15 @@ | ||
10 | +/* vi: set sw=4 ts=4: */ | ||
11 | +/* | ||
12 | + * dup3() for uClibc | ||
13 | + * | ||
14 | + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> | ||
15 | + * | ||
16 | + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | ||
17 | + */ | ||
18 | + | ||
19 | +#include <sys/syscall.h> | ||
20 | +#include <unistd.h> | ||
21 | + | ||
22 | + | ||
23 | +_syscall3(int, dup3, int, oldfd, int, newfd, int, flags) | ||
24 | +libc_hidden_def(dup3) | ||
25 | Index: git/include/unistd.h | ||
26 | =================================================================== | ||
27 | --- git.orig/include/unistd.h 2012-01-27 01:19:17.521792781 -0800 | ||
28 | +++ git/include/unistd.h 2012-01-27 07:40:03.106898447 -0800 | ||
29 | @@ -512,6 +512,8 @@ | ||
30 | /* Duplicate FD to FD2, closing FD2 and making it open on the same file. */ | ||
31 | extern int dup2 (int __fd, int __fd2) __THROW; | ||
32 | libc_hidden_proto(dup2) | ||
33 | +extern int dup3 (int __fd, int __fd2, int __flags) __THROW; | ||
34 | +libc_hidden_proto(dup3) | ||
35 | |||
36 | /* NULL-terminated array of "NAME=VALUE" environment variables. */ | ||
37 | extern char **__environ; | ||