CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2015/01/22 19:37:25

Modified files:
        usr.sbin/cron  : atrun.c crontab.c database.c do_command.c 
                         entry.c env.c macros.h misc.c user.c 

Log message:
Remove the OK and ERR macros. They obfuscate the code and don't
help legibility. (unix system calls use 0 for ok, but hundreds of
other projects use 1 to indicate success.) Despite the name, many
system calls (e.g., open) also return not OK values for success.
It also cleans up some weird code like int crontab_fd = OK - 1;
This diff is mechanical in nature. Later I will fix the bugs it reveals.
ok deraadt

Reply via email to