Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-15 | unix_signal: Fix warnings and notes | Benjamin Franzke | 1 | -3/+13 | |
Doesn't happen on linux, as we have signalfd there, but would be triggered for other operating systems. warning: missing braces around initializer [-Wmissing-braces] sigaction(signum, &(struct sigaction){handler}, NULL); ^ unix_signal.c:130:39: note: (near initialization for '(anonymous)') unix_signal.c:130:29: warning: missing initializer for field 'sa_mask' of 'struct sigaction' [-Wmissing-field-initializers] sigaction(signum, &(struct sigaction){handler}, NULL); ^ | |||||
2011-10-22 | Add License header to source files | Benjamin Franzke | 1 | -0/+18 | |
2011-10-22 | Fix 80 column width | Benjamin Franzke | 1 | -3/+6 | |
2011-10-20 | Use signalfd if available | Benjamin Franzke | 1 | -1/+0 | |
If kqueue can be added as well, our homegrown kinda ugly signal dispatcher could be killed. | |||||
2011-10-20 | g_unix_signal: Remove g_ prefix to not collide with glib | Benjamin Franzke | 1 | -0/+136 | |
There is a g_unix_signal_new function in glib as well now, but that is only allowed to be used for SIGINT, SIGHUP and SIGTERM, so we have to stay with our own. |