projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e6b214
)
LRN: Apparently cleanup is not for W32
author
Christian Grothoff
<christian@grothoff.org>
Tue, 28 Feb 2012 17:29:14 +0000
(17:29 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 28 Feb 2012 17:29:14 +0000
(17:29 +0000)
src/util/os_priority.c
patch
|
blob
|
history
diff --git
a/src/util/os_priority.c
b/src/util/os_priority.c
index c494f88dc0b924efb1b99a66d47f95c8e8df0cbe..4bcb481a628099730412153d2a0c6a407be514ad 100644
(file)
--- 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);