From 6e844974ae87a945292c2d7fd2c00111a847a118 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 28 Feb 2012 17:29:14 +0000 Subject: [PATCH] LRN: Apparently cleanup is not for W32 --- src/util/os_priority.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/os_priority.c b/src/util/os_priority.c index c494f88dc..4bcb481a6 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -448,7 +448,9 @@ GNUNET_OS_process_kill (struct GNUNET_OS_Process *proc, int sig) /* pipe failed, try other methods */ switch (sig) { +#if !WINDOWS case SIGHUP: +#endif case SIGINT: case SIGKILL: case SIGTERM: @@ -500,7 +502,9 @@ GNUNET_OS_process_close (struct GNUNET_OS_Process *proc) #endif if (NULL != proc->childpipename) { +#if !WINDOWS cleanup_npipe (proc->childpipename); +#endif GNUNET_free (proc->childpipename); } GNUNET_free (proc); -- 2.25.1