]> Savannah Git Hosting - gnulib.git/commit
argp: Distinguish NULL and '\0' from 0.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Sep 2023 22:44:01 +0000 (00:44 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 4 Sep 2023 22:44:01 +0000 (00:44 +0200)
commitd8060f855e49688cde0e76e86f6cc697da2983c3
treefe0fa2011a2b6d00715aa69dc1b970b3e2b005a1
parent5c297ca92ac7a2bd9a65c7013fa7efe44bf67763
argp: Distinguish NULL and '\0' from 0.

* lib/argp-pin.c: Include <stddef.h>.
(program_invocation_short_name, program_invocation_name): Use NULL
instead of 0.
* lib/argp-parse.c (convert_options, __argp_parse, __argp_input):
Likewise.
* lib/argp-fmtstream.c (__argp_make_fmtstream): Likewise.
* lib/argp-help.c (make_hol, hol_entry_first_long, hol_find_entry,
hol_append, hol_entry_help, argp_doc, _help): Likewise.
(hol_usage): Use '\0' instead of 0.
ChangeLog
lib/argp-fmtstream.c
lib/argp-help.c
lib/argp-parse.c
lib/argp-pin.c