projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fgets() returns NULL on error, not < 0
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
d588a3f
..
1ec450c
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-1,7
+1,7
@@
/*
process.c -- process management functions
Copyright (C) 1999-2005 Ivo Timmermans,
/*
process.c -- process management functions
Copyright (C) 1999-2005 Ivo Timmermans,
- 2000-20
09
Guus Sliepen <guus@tinc-vpn.org>
+ 2000-20
11
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-41,7
+41,7
@@
extern char **g_argv;
extern bool use_logfile;
#ifndef HAVE_MINGW
extern bool use_logfile;
#ifndef HAVE_MINGW
-sigset_t emptysigset;
+s
tatic s
igset_t emptysigset;
#endif
static void memory_full(int size) {
#endif
static void memory_full(int size) {
@@
-387,6
+387,7
@@
static struct {
{SIGILL, fatal_signal_handler},
{SIGPIPE, ignore_signal_handler},
{SIGCHLD, ignore_signal_handler},
{SIGILL, fatal_signal_handler},
{SIGPIPE, ignore_signal_handler},
{SIGCHLD, ignore_signal_handler},
+ {SIGABRT, SIG_DFL},
{0, NULL}
};
#endif
{0, NULL}
};
#endif