diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-01 09:04:15 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-05-01 11:21:17 -0700 |
commit | e915c32cc74671a03a4f656bdbbe9b8103a5ff19 (patch) | |
tree | c2e34adda0cf3c7de1c44a7b782e7790d94f94fd /ChangeLog | |
parent | 98deb4fad3bdc7986274feebac3f0f8a50fdce0a (diff) | |
download | gnulib-e915c32cc74671a03a4f656bdbbe9b8103a5ff19.tar.gz |
mktime: prefer C23 style overflow checking
Prefer stdckdint.h macros to intprops.h macros where either will do,
as this is the C23 standard. Also, it ports around a pcc bug.
* config/srclist.txt: Comment out mktime.c.
* lib/mktime.c: Include stdckdint.h, not intprops.h.
(__mktime_internal): Prefer stdckdint.h to intprops.h macros.
* modules/mktime (Depends-on): Add stdckdint.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,13 @@ 2023-05-01 Paul Eggert <eggert@cs.ucla.edu> + mktime: prefer C23 style overflow checking + Prefer stdckdint.h macros to intprops.h macros where either will do, + as this is the C23 standard. Also, it ports around a pcc bug. + * config/srclist.txt: Comment out mktime.c. + * lib/mktime.c: Include stdckdint.h, not intprops.h. + (__mktime_internal): Prefer stdckdint.h to intprops.h macros. + * modules/mktime (Depends-on): Add stdckdint. + limits-h: port to pcc * doc/posix-headers/limits.texi: Document the issue. * lib/limits.in.h (MB_LEN_MAX): New macro, if not already defined. |