|
From: | Bruno Haible |
Subject: | Re: Some more <config.h> reminders |
Date: | Fri, 14 Apr 2023 13:05:13 +0200 |
I wrote: > In POSIX:2008, the application can > get the time_t type defined by including one of the following files: Likewise in POSIX:2018. > Gnulib should therefore override each of these include files and > make sure <config.h> (with the possible _TIME_BITS definition) is > included first. Done as follows. 2023-04-14 Bruno Haible <bruno@clisp.org> year2038: Add reminder to include <config.h> before time_t gets defined. * lib/sched.in.h: Check that config.h was already included before the #include_next. * lib/sys_select.in.h: Likewise. * lib/sys_stat.in.h: Likewise. * lib/sys_time.in.h: Likewise. * lib/sys_types.in.h: Likewise. * lib/time.in.h: Likewise. * lib/utime.in.h: Likewise. * modules/year2038 (Depends-on): Add sched, sys_msg, sys_select, sys_sem, sys_shm, sys_stat, sys_time, sys_types, time-h, utime-h. sys_shm: New module. * lib/sys_shm.in.h: New file. * m4/sys_shm_h.m4: New file. * modules/sys_shm: New file. * doc/posix-headers/sys_shm.texi: Mention the new module. sys_sem: New module. * lib/sys_sem.in.h: New file. * m4/sys_sem_h.m4: New file. * modules/sys_sem: New file. * doc/posix-headers/sys_sem.texi: Mention the new module. sys_msg: New module. * lib/sys_msg.in.h: New file. * m4/sys_msg_h.m4: New file. * modules/sys_msg: New file. * doc/posix-headers/sys_msg.texi: Mention the new module.
0001-sys_msg-New-module.patch
Description: Text Data
0002-sys_sem-New-module.patch
Description: Text Data
0003-sys_shm-New-module.patch
Description: Text Data
0004-year2038-Add-reminder-to-include-config.h-before-tim.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |