From 54ac51d8a6c6274761fbd1543b7a38bcccd2f745 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 10 Apr 2009 12:13:52 +0000 Subject: [PATCH] [toolchain] fix nasty daemon/pthread issue (closes: #4915) SVN-Revision: 15193 --- .../patches/141-fix-daemon-to-support-pthread.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch diff --git a/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch b/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch new file mode 100644 index 0000000000..88ab9f3db5 --- /dev/null +++ b/toolchain/uClibc/patches/141-fix-daemon-to-support-pthread.patch @@ -0,0 +1,11 @@ +--- a/libc/unistd/daemon.c ++++ b/libc/unistd/daemon.c +@@ -54,7 +54,7 @@ libc_hidden_proto(_exit) + 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 ) + { -- 2.30.2