CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/11/20 03:58:11

Modified files:
        include        : time.h 
        lib/libc/time  : ctime.3 

Log message:
time.h: const correct tm_zone in struct tm

The Base Specifications, Issue 8 incorporated Austin Group Defect 1533
adding long tm_gmtoff (which we already have) and const char *tm_zone,
which we have but without const. Adapt our struct. This was tested in
an amd64 bulk without fallout and fixes a bunch of compiler warnings
from strptime.c r1.32 where gmt[] and utc[] were moved to rodata.

https://austingroupbugs.net/view.php?id=1533

ok jca millert

Reply via email to