summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-15 05:32:50 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-15 05:32:50 +0000
commit74dd2ac7cd5b91e101be062084078446a9f53898 (patch)
treedcfde2ccb95f1b8f7f9bf98a737458da72016f47
parentaa96dd030da43453c2b4ccdba1937504117767cb (diff)
tailfsrv is a stupid and completly useless program. inst/gui and inst/textonly dont need it anymore
-rw-r--r--sys/src/cmd/aux/tailfsrv.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/src/cmd/aux/tailfsrv.c b/sys/src/cmd/aux/tailfsrv.c
deleted file mode 100644
index fc41f42ff..000000000
--- a/sys/src/cmd/aux/tailfsrv.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <u.h>
-#include <libc.h>
-
-void
-main(void)
-{
- int fd, p[2];
- char buf[8192], n;
-
- pipe(p);
- fd = create("/srv/log", OWRITE, 0666);
- fprint(fd, "%d", p[0]);
- close(fd);
- close(p[0]);
- while((n = read(p[1], buf, sizeof buf)) >= 0)
- write(1, buf, n);
-}