Major release with tons of improvements
- Minor fix, sigemptyset(&emptymask) - Mostly consists of major code changes. Great thanks to Simon Lieb (pips-) for his help.
This commit is contained in:
parent
4844396830
commit
4b71980933
|
@ -1,5 +1,5 @@
|
||||||
# spt version
|
# spt version
|
||||||
VERSION = 0.3
|
VERSION = 0.4
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
|
|
2
spt.c
2
spt.c
|
@ -150,6 +150,8 @@ main(int argc, char *argv[])
|
||||||
if (sigaction(SIGUSR2, &sa, NULL) == -1)
|
if (sigaction(SIGUSR2, &sa, NULL) == -1)
|
||||||
die("cannot associate SIGUSR2 to handler\n");
|
die("cannot associate SIGUSR2 to handler\n");
|
||||||
|
|
||||||
|
sigemptyset(&emptymask);
|
||||||
|
|
||||||
for (i = 0; ; i = (i + 1) % LEN(timers)) {
|
for (i = 0; ; i = (i + 1) % LEN(timers)) {
|
||||||
notify_send(timers[i].cmt);
|
notify_send(timers[i].cmt);
|
||||||
remaining.tv_sec = timers[i].tmr;
|
remaining.tv_sec = timers[i].tmr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user