CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2020/02/11 05:42:02
Modified files: usr.sbin/cron : cron.c crontab.c Log message: Remove setlocale(3) calls. I checked that no functions are called that are actually locale-dependent on OpenBSD, and the programs should better not be locale-dependent even when compiled on other systems. millert@ points out that the month and weekday names in the fourth and fifth columns of crontab(5) could in theory be made locale-dependent, but we certainly don't want that, and currently, they are only compared against static const char * arrays in entry.c containing English names. Patch sent in by Jan Stary <hans at stare dot cz>. OK millert@