Update TODO
This commit is contained in:
parent
30715f1eec
commit
d4416d984b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user