diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-28 17:29:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-28 17:29:14 +0000 |
commit | 6e844974ae87a945292c2d7fd2c00111a847a118 (patch) | |
tree | 7e4ceb71148766720b53c70639ee3f5b12c56eed /src | |
parent | 5e6b214fa2483386b99de184845c2bd6474fd59a (diff) | |
download | gnunet-6e844974ae87a945292c2d7fd2c00111a847a118.tar.gz gnunet-6e844974ae87a945292c2d7fd2c00111a847a118.zip |
LRN: Apparently cleanup is not for W32
Diffstat (limited to 'src')
-rw-r--r-- | src/util/os_priority.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
448 | /* pipe failed, try other methods */ | 448 | /* pipe failed, try other methods */ |
449 | switch (sig) | 449 | switch (sig) |
450 | { | 450 | { |
451 | #if !WINDOWS | ||
451 | case SIGHUP: | 452 | case SIGHUP: |
453 | #endif | ||
452 | case SIGINT: | 454 | case SIGINT: |
453 | case SIGKILL: | 455 | case SIGKILL: |
454 | case SIGTERM: | 456 | case SIGTERM: |
@@ -500,7 +502,9 @@ GNUNET_OS_process_close (struct GNUNET_OS_Process *proc) | |||
500 | #endif | 502 | #endif |
501 | if (NULL != proc->childpipename) | 503 | if (NULL != proc->childpipename) |
502 | { | 504 | { |
505 | #if !WINDOWS | ||
503 | cleanup_npipe (proc->childpipename); | 506 | cleanup_npipe (proc->childpipename); |
507 | #endif | ||
504 | GNUNET_free (proc->childpipename); | 508 | GNUNET_free (proc->childpipename); |
505 | } | 509 | } |
506 | GNUNET_free (proc); | 510 | GNUNET_free (proc); |