LRN: Apparently cleanup is not for W32
authorChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2012 17:29:14 +0000 (17:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2012 17:29:14 +0000 (17:29 +0000)
src/util/os_priority.c

index c494f88dc0b924efb1b99a66d47f95c8e8df0cbe..4bcb481a628099730412153d2a0c6a407be514ad 100644 (file)
@@ -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);