* libc/include/time.h (__tzrule_struct): Make offset long, since
a 16-bit int overflows on a 12-hour offset.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
* libc/time/mktm_r.c: Ditto.
* libc/time/gettzinfo.c: Ditto.
* libc/time/strftime.c (strftime): Fix '%x' to deal with negative
years. Fix '%z' to use long, not int.
|
||
|---|---|---|
| .. | ||
| arpa | ||
| net | ||
| netinet | ||
| netinet6 | ||
| netns | ||
| rpc | ||
| argp.h | ||
| bp-sym.h | ||
| cmathcalls.h | ||
| complex.h | ||
| dl-hash.h | ||
| dlfcn.h | ||
| fnmatch.h | ||
| gconv.h | ||
| getopt.h | ||
| glob.h | ||
| hesiod.h | ||
| iconv.h | ||
| ifaddrs.h | ||
| libc_private.h | ||
| limits.h | ||
| link.h | ||
| malloc.h | ||
| mcheck.h | ||
| mqueue.h | ||
| namespace.h | ||
| netconfig.h | ||
| netdb.h | ||
| nsswitch.h | ||
| paths.h | ||
| pthread.h | ||
| regex.h | ||
| resolv.h | ||
| rune.h | ||
| runetype.h | ||
| semaphore.h | ||
| setjmp.h | ||
| setlocale.h | ||
| stdint.h | ||
| time.h | ||
| un-namespace.h | ||
| unistd.h | ||
| wordexp.h | ||