aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bazel3/patch_TEMP_FAILURE_RETRY.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bazel3/patch_TEMP_FAILURE_RETRY.patch')
-rw-r--r--testing/bazel3/patch_TEMP_FAILURE_RETRY.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/testing/bazel3/patch_TEMP_FAILURE_RETRY.patch b/testing/bazel3/patch_TEMP_FAILURE_RETRY.patch
deleted file mode 100644
index 127c5edbe56..00000000000
--- a/testing/bazel3/patch_TEMP_FAILURE_RETRY.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/src/main/tools/linux-sandbox-pid1.cc.old
-+++ b/src/main/tools/linux-sandbox-pid1.cc
-@@ -54,6 +54,17 @@
- #include "src/main/tools/logging.h"
- #include "src/main/tools/process-tools.h"
-
-+// TEPM_FAILURE_RETRY is glibc specific and is not available on e.g. musl
-+// Taken from glibc unistd.h
-+#ifndef TEMP_FAILURE_RETRY
-+# define TEMP_FAILURE_RETRY(expression) \
-+ (__extension__ \
-+ ({ long int __result; \
-+ do __result = (long int) (expression); \
-+ while (__result == -1L && errno == EINTR); \
-+ __result; }))
-+#endif
-+
- static int global_child_pid;
-
- static void SetupSelfDestruction(int *sync_pipe) {