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:
Ivan Tham 2016-11-01 00:16:56 +08:00
parent 4844396830
commit 4b71980933
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# spt version
VERSION = 0.3
VERSION = 0.4
# Customize below to fit your system

2
spt.c
View File

@ -150,6 +150,8 @@ main(int argc, char *argv[])
if (sigaction(SIGUSR2, &sa, NULL) == -1)
die("cannot associate SIGUSR2 to handler\n");
sigemptyset(&emptymask);
for (i = 0; ; i = (i + 1) % LEN(timers)) {
notify_send(timers[i].cmt);
remaining.tv_sec = timers[i].tmr;