From: Christian Grothoff Date: Tue, 28 Feb 2012 17:29:14 +0000 (+0000) Subject: LRN: Apparently cleanup is not for W32 X-Git-Tag: initial-import-from-subversion-38251~14562 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e844974ae87a945292c2d7fd2c00111a847a118;p=oweals%2Fgnunet.git LRN: Apparently cleanup is not for W32 --- 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);