From 61d6cac99c7a967c0439e46c34ebf1b4191c6752 Mon Sep 17 00:00:00 2001 From: Andi McClure Date: Tue, 24 Nov 2015 13:46:19 -0500 Subject: [PATCH] Don't fsync() on a pipe (causes bug #35936) fsync() on a file descriptor from a pipe() is invalid, and occasionally crashes on current OS X. --- support/signal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/support/signal.c b/support/signal.c index 6adf5463878..a018bc67928 100644 --- a/support/signal.c +++ b/support/signal.c @@ -184,7 +184,6 @@ default_handler (int signum) for (j = 0; j < pipecounter; ++j) { int r; do { r = write (fd, &c, 1); } while (keep_trying (r)); - fsync (fd); /* force */ } } } -- 2.25.1