ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit d4416d984b525fc16daf233f60ae71eb1f07f85a
parent 30715f1eec6e3aeb7079371327ecc234cdde31d2
Author: sin <sin@2f30.org>
Date:   Sun, 28 Sep 2014 18:35:55 +0100

Update TODO

Diffstat:
Mrespawn.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

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