]> Savannah Git Hosting - gnulib.git/commit
mktime: prefer C23 style overflow checking
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 May 2023 16:04:15 +0000 (09:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 1 May 2023 18:21:17 +0000 (11:21 -0700)
commite915c32cc74671a03a4f656bdbbe9b8103a5ff19
treec2e34adda0cf3c7de1c44a7b782e7790d94f94fd
parent98deb4fad3bdc7986274feebac3f0f8a50fdce0a
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.
ChangeLog
config/srclist.txt
lib/mktime.c
modules/mktime