'exit(1);' considered useless (slight flame)
Dave Decot
decot at cwruecmp.UUCP
Wed Feb 8 08:19:33 AEST 1984
Perror() is not good because it discourages specific messages. The shells
should say:
% file
file: data; not executable
or
file: program not executable by you
instead of
% file
file: permission denied
Also, why do we get:
% cd /user/bin
/user/bin: No such file or directory
when the argument to cd is never supposed to be a file? Somebody used
the convenient perror() instead of writing a specific message.
Dave Decot "Non-Americans are people, too."
decvax!cwruecmp!decot (Decot.Case at rand-relay)
More information about the Comp.lang.c
mailing list