diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-15 05:32:50 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-04-15 05:32:50 +0000 |
commit | 74dd2ac7cd5b91e101be062084078446a9f53898 (patch) | |
tree | dcfde2ccb95f1b8f7f9bf98a737458da72016f47 /sys/src | |
parent | aa96dd030da43453c2b4ccdba1937504117767cb (diff) |
tailfsrv is a stupid and completly useless program. inst/gui and inst/textonly dont need it anymore
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/cmd/aux/tailfsrv.c | 17 |
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); -} |