summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/fix-daemon-pthread.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:45:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:45:29 +0100
commit220a96f9926788ed531717f78e44fdf1e7ab3b34 (patch)
tree406f65eea71fabd8cf66c2bd1108ec63f8c349ee /toolchain/uClibc/patches/fix-daemon-pthread.patch
parent38af8185ea05a1c5d1abb32a68a025e3b4afa4d6 (diff)
rework architecture / embedded systems concept
Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;)
Diffstat (limited to 'toolchain/uClibc/patches/fix-daemon-pthread.patch')
-rw-r--r--toolchain/uClibc/patches/fix-daemon-pthread.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/toolchain/uClibc/patches/fix-daemon-pthread.patch b/toolchain/uClibc/patches/fix-daemon-pthread.patch
deleted file mode 100644
index a137320c2..000000000
--- a/toolchain/uClibc/patches/fix-daemon-pthread.patch
+++ /dev/null
@@ -1,18 +0,0 @@
- Taken from OpenWrt, this patch fixes for a broken daemon() function
- in applications linked against pthread, as the fork() function provided
- by pthread has to be used then. It is said, that this won't fix for
- statically compiled binaries.
-
- See here: https://dev.openwrt.org/attachment/ticket/4809/fix-daemon-pthread.patch
- and here: https://bugs.busybox.net/show_bug.cgi?id=193
---- a/libc/unistd/daemon.c 2006-07-05 21:52:39.000000000 +0200
-+++ b/libc/unistd/daemon.c 2009-03-21 08:45:25.000000000 +0100
-@@ -54,7 +54,7 @@
- libc_hidden_proto(dup2)
- libc_hidden_proto(setsid)
- libc_hidden_proto(chdir)
--libc_hidden_proto(fork)
-+/* libc_hidden_proto(fork) */
-
- int daemon( int nochdir, int noclose )
- {