Sept. 5, 2016
12:35 a.m.
On Sun, Sep 4, 2016, at 20:27, Paul Eggert wrote:
POSIX says apps must declare 'environ' themselves. Although this is not necessary on GNU/Linux with _GNU_SOURCE defined, it is needed with stricter environments like Solaris 10. * date.c, zdump.c (environ): Declare even if HAVE_POSIX_DECLS.
1. Why exactly does this code do this instead of using setenv/putenv? 2. Why mess with the environment at all instead of conditionally calling gmtime rather than localtime?