From: Christian Grothoff Date: Mon, 27 Feb 2012 11:55:24 +0000 (+0000) Subject: -make disk IO blocking, otherwise opening signal pipe may fail because child did... X-Git-Tag: initial-import-from-subversion-38251~14613 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb6f753f6be4fc8fcb662a22bda6f1deb2c6e3bd;p=oweals%2Fgnunet.git -make disk IO blocking, otherwise opening signal pipe may fail because child did not have time to start --- diff --git a/src/util/disk.c b/src/util/disk.c index e4d5ed32b..d0dbbdf66 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -1610,7 +1610,7 @@ GNUNET_DISK_file_open (const char *fn, enum GNUNET_DISK_OpenFlags flags, mode = translate_unix_perms (perm); } - fd = open (expfn, oflags | O_LARGEFILE | O_NONBLOCK, mode); + fd = open (expfn, oflags | O_LARGEFILE, mode); if (fd == -1) { if (0 == (flags & GNUNET_DISK_OPEN_FAILIFEXISTS))