-make disk IO blocking, otherwise opening signal pipe may fail because child did...
authorChristian Grothoff <christian@grothoff.org>
Mon, 27 Feb 2012 11:55:24 +0000 (11:55 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 27 Feb 2012 11:55:24 +0000 (11:55 +0000)
src/util/disk.c

index e4d5ed32b5d77e43c3747d5fa9db4125e51771d3..d0dbbdf66843d499da2d35429101d5b63482f9c1 100644 (file)
@@ -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))