CVSROOT:        /cvs
Module name:    src
Changes by:     mill...@cvs.openbsd.org 2024/04/03 20:20:01

Modified files:
        lib/libc/time  : localtime.c 

Log message:
tzset_basic: only call issetugid(2) if TZ has changed
If we are just going to return without parsing TZ, there is no need
to call issetugid(2) first.  We only need to call issetugid(2) the
first time TZ is checked or when the value of TZ has changed.
Previously, we called issetugid(2) for every call to the functions
described by localtime(3).  OK deraadt@

Reply via email to