Jan. 5, 2023
8:49 a.m.
On Jan 4, 2023, at 5:03 PM, Paul Eggert via tz <tz@iana.org> wrote:
I took a look at that and saw there are quite a few changes and NetBSD has some gimmicks to deal with old binaries with 32-bit time_t (is that still relevant?) so I decided to start with something simpler, namely zdump.c. I compared NetBSD zdump.c to tzcode and saw one improvement in NetBSD which used a NetBSD-specific function, and recoded that in standard POSIX by installing the attached patch into tzdb.
Is there a reason for doing char const *e = strerror(errno); fprintf(stderr, _("%s: setenv: %s\n"), progname, e); rather than fprintf(stderr, _("%s: setenv: %s\n"), progname, strerror(errno));