Update TODO

This commit is contained in:
sin 2014-09-28 18:35:55 +01:00
parent 30715f1eec
commit d4416d984b

View File

@ -63,6 +63,7 @@ main(int argc, char *argv[])
signal(SIGTERM, sigterm); signal(SIGTERM, sigterm);
if (fifo) { if (fifo) {
/* TODO: we should use O_RDONLY and re-open the fd on EOF */
fd = open(fifo, O_RDWR | O_NONBLOCK); fd = open(fifo, O_RDWR | O_NONBLOCK);
if (fd < 0) if (fd < 0)
eprintf("open %s:", fifo); eprintf("open %s:", fifo);