Re: argp: Distinguish NULL and '\0' from 0

2023-09-04 Thread Paul Eggert
On 2023-09-04 15:44, Bruno Haible wrote: - fs = 0; + fs = NULL; This use of 0 probably dates back to when the GNU Coding Standards said, in effect "Don't bother changing 0 to NULL when it doesn't affect semantics." I've been gradually switching code to use nullptr instead

argp: Distinguish NULL and '\0' from 0

2023-09-04 Thread Bruno Haible
The argp code still uses 0 to denote a null pointer, like in the 1980ies. It makes the code harder to understand than necessary. 2023-09-04 Bruno Haible argp: Distinguish NULL and '\0' from 0. * lib/argp-pin.c: Include . (program_invocation_