summaryrefslogtreecommitdiff
path: root/toolchain/uclibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-25 00:15:29 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-08-25 00:15:29 +0200
commitc51e337d0201a41c7bc4915609981b28b329802a (patch)
tree724c114063b7a23f14a02ccb3ed6bc39b06ddcb3 /toolchain/uclibc
parent46a7c92f9de712577546c98d2ac2b807b638126b (diff)
sync with uClibc patchset
Diffstat (limited to 'toolchain/uclibc')
-rw-r--r--toolchain/uclibc/patches/0.9.34-git/0011-get-out-of-the-endless-while-loop-when-bind-failed.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/toolchain/uclibc/patches/0.9.34-git/0011-get-out-of-the-endless-while-loop-when-bind-failed.patch b/toolchain/uclibc/patches/0.9.34-git/0011-get-out-of-the-endless-while-loop-when-bind-failed.patch
new file mode 100644
index 000000000..81fab7094
--- /dev/null
+++ b/toolchain/uclibc/patches/0.9.34-git/0011-get-out-of-the-endless-while-loop-when-bind-failed.patch
@@ -0,0 +1,26 @@
+From cefde9e8caac8ad05409265dcaade63843f2fc71 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@uclibc-ng.org>
+Date: Sun, 24 Aug 2014 21:37:48 +0200
+Subject: [PATCH 11/11] get out of the endless while loop, when bind failed
+
+Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
+---
+ test/nptl/tst-cancel4.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/test/nptl/tst-cancel4.c b/test/nptl/tst-cancel4.c
+index 53abf83..4ba4045 100644
+--- a/test/nptl/tst-cancel4.c
++++ b/test/nptl/tst-cancel4.c
+@@ -1015,6 +1015,8 @@ tf_accept (void *arg)
+ if (++tries > 10)
+ {
+ printf ("%s: too many unsuccessful bind calls\n", __FUNCTION__);
++ /* prevent endless loop, when bind fails forever */
++ exit (1);
+ }
+
+ strcpy (sun.sun_path, "/tmp/tst-cancel4-socket-1-XXXXXX");
+--
+1.8.5.2 (Apple Git-48)
+