aboutsummaryrefslogtreecommitdiff
path: root/src/util/disk.c
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2013-02-14 16:15:22 +0000
committerLRN <lrn1986@gmail.com>2013-02-14 16:15:22 +0000
commitf408da5bae9e316687069845a9da34a59df2eca8 (patch)
treef08ff875fbea7f43f25c1c93b20f85817b1ff878 /src/util/disk.c
parentde1304424a62b8dee28118966414bd3ab9bd9fbc (diff)
downloadgnunet-f408da5bae9e316687069845a9da34a59df2eca8.tar.gz
gnunet-f408da5bae9e316687069845a9da34a59df2eca8.zip
Use passed-by-fd pipe to control chilren
Removes npipe_*() functions. Uses normal GNUnet pipe for child control (the pipe is anonymous on *nix, named-with-unique-name on W32). Also tighten W32 code (close pipes correctly on errors). Remove some FIXME NILS comments. Convert #if MINGW -> #if defined (WINDOWS) in some places. Better start_process() debug logging on W32
Diffstat (limited to 'src/util/disk.c')
-rw-r--r--src/util/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index 53e8867e2..f06311f88 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -1866,7 +1866,7 @@ GNUNET_DISK_file_close (struct GNUNET_DISK_FileHandle *h)
1866 return ret; 1866 return ret;
1867} 1867}
1868 1868
1869#ifndef WINDOWS 1869#ifdef WINDOWS
1870/** 1870/**
1871 * Get a GNUnet file handle from a W32 handle. 1871 * Get a GNUnet file handle from a W32 handle.
1872 * 1872 *