-fixes
[oweals/gnunet.git] / src / util / disk.c
index e4d5ed32b5d77e43c3747d5fa9db4125e51771d3..b6b458f151e17105f589127575b0c8d099efadf1 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))
@@ -2234,7 +2234,7 @@ GNUNET_DISK_pipe_from_fd (int blocking_read, int blocking_write, int fd[2])
 #ifndef MINGW
   int ret;
   int flags;
-  int eno;
+  int eno = 0; /* make gcc happy */
 
   p->fd[0]->fd = fd[0];
   p->fd[1]->fd = fd[1];