]> Savannah Git Hosting - gnulib.git/commit
Don’t port July [[...]] changes to C89
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Sep 2024 16:45:36 +0000 (09:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Sep 2024 16:48:06 +0000 (09:48 -0700)
commitcf96562febc1ddb151c72c9c3f701ad63fe03e0d
tree2dbf40c078e9d4c89f2e96c5b7c645d435055cdb
parent933493d31cbdd43a6f446215da5f5c946812c483
Don’t port July [[...]] changes to C89

Yesterday’s changes to port to C17 and earlier were intrusive,
since they twice replaced one macro with two.  Revert the macro
definitions to what they were before yesterday, and instead change
callers so that they always have four arguments even if the last
one is empty.  Although this change requires C99 or later, that’s
safe nowadays.  Suggested by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2024-09/msg00079.html
* lib/c++defs.h (_GL_FUNCDECL_RPL, _GL_FUNCDECL_SYS):
Revert yesterday’s changes.  All callers changed.
Add comments explaining the required comma before missing attrs.
46 files changed:
ChangeLog
lib/arpa_inet.in.h
lib/c++defs.h
lib/dirent.in.h
lib/error.in.h
lib/fcntl.in.h
lib/fenv.in.h
lib/fnmatch.in.h
lib/glob.in.h
lib/iconv.in.h
lib/inttypes.in.h
lib/langinfo.in.h
lib/locale.in.h
lib/malloc.in.h
lib/math.in.h
lib/mntent.in.h
lib/monetary.in.h
lib/netdb.in.h
lib/poll.in.h
lib/pthread.in.h
lib/pty.in.h
lib/sched.in.h
lib/search.in.h
lib/signal.in.h
lib/spawn.in.h
lib/stdio.in.h
lib/stdlib.in.h
lib/string.in.h
lib/strings.in.h
lib/sys_ioctl.in.h
lib/sys_random.in.h
lib/sys_resource.in.h
lib/sys_select.in.h
lib/sys_socket.in.h
lib/sys_stat.in.h
lib/sys_time.in.h
lib/sys_wait.in.h
lib/termios.in.h
lib/threads.in.h
lib/time.in.h
lib/uchar.in.h
lib/unistd.in.h
lib/utime.in.h
lib/utmp.in.h
lib/wchar.in.h
lib/wctype.in.h