342d35797b
call - which makes the code completely impossibly to follow, call fflush() and ferror() just prior to calling fclose(). This has the advantage of actually detecting the any write errors, since the output is block bufferred and will typically not happen during fprintf() but only during the fclose() - where it is difficult to report. I also singlilarly refuse to add (void) casts to every printf call in the system - since it almost never makes any sense to look at the return value (unless you want to know how many bytes were actually writtem). |
||
---|---|---|
.. | ||
config.1 | ||
config.5 | ||
config.samples.5 | ||
defs.h | ||
files.c | ||
gram.y | ||
hash.c | ||
main.c | ||
Makefile | ||
mkdevsw.c | ||
mkheaders.c | ||
mkioconf.c | ||
mkmakefile.c | ||
mkswap.c | ||
pack.c | ||
scan.l | ||
sem.c | ||
sem.h | ||
util.c |