The Anonix Project (126, permasaged)

73 Name: #!/usr/bin/anonymous : 2008-05-20 07:52 ID:Heaven

>>70
chgrp.c, chown.c, md5sum.c, mkdir.c, rmdir.c, and sha1sum.c don't compile because of syntax errors. mkfifo.c assumes mode_t is signed, which it isn't on my system. tty.c contains a syntax error but gcc compiles it anyway.

xxxxxx@olorin$ wget -U Mozilla -nd -m -np -E -R html http://rechan.eu.org/misc/anoncoreutils/ >& /dev/null
xxxxxx@olorin$ ls < ~/ac >
ABOUT.HTM chown.c mkdir.c rmdir.c.0 true.c
CODEGUIDELINES chroot.c mkfifo.c robots.txt tty.c
LIST echo.c mkfifo.c.0 sha1sum.c uname.c
NAMING echo.c.0 nice.c sleep.c unlink.c
arch.c false.c nohup.c sync.c whoami.c
basename.c head.c paste.c tee.c yes.c
cat.c link.c pwd.c tee.c.0
chgrp.c md5sum.c rmdir.c touch.c
xxxxxx@olorin$ mkdir bin < ~/ac >
xxxxxx@olorin$ for source in *.c < ~/ac >
for> do
for> gcc -Os -s -pipe -ansi -pedantic $source -o bin/`echo $source|sed s/\.c$//`
for> done
chgrp.c:15: error: syntax error before "do_chgrp"
chown.c:18: error: syntax error before "do_chown"
md5sum.c:2: warning: ISO C90 does not support `long long'
md5sum.c:110: error: syntax error before '/' token
mkdir.c:31: error: syntax error before "int"
mkdir.c: In function `main':
mkdir.c:62: warning: comparison is always false due to limited range of data type
mkfifo.c: In function `main':
mkfifo.c:39: warning: comparison is always false due to limited range of data type
pwd.c:6:2: warning: no newline at end of file
rmdir.c:6: error: syntax error before "void"
rmdir.c:15: error: syntax error before "int"
sha1sum.c:2: warning: ISO C90 does not support `long long'
sha1sum.c:65: error: syntax error before '/' token
sync.c: In function `main':
sync.c:2: warning: return type of 'main' is not `int'
touch.c: In function `main':
touch.c:108: warning: initializer element is not computable at load time
touch.c:108: warning: initializer element is not computable at load time
touch.c:121:2: warning: no newline at end of file
tty.c: In function `main':
tty.c:8: warning: ISO C forbids omitting the middle term of a ?: expression
whoami.c: In function `main':
whoami.c:5: warning: return type of 'main' is not `int'
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: