[PATCH] manual: Document the standardized scanf flag, "m". [BZ #16376]
Andreas Schwab
schwab@suse.de
Wed Feb 7 09:48:00 GMT 2018
On Feb 06 2018, Rical Jasan <ricaljasan@pacific.net> wrote:
> Looking in stdio-common/vfscanf.c, "a" uses GNU_MALLOC, and "m" uses
> POSIX_MALLOC, and there is a MALLOC which is defined to either, and
> throughout the code there are several conditionals where POSIX_MALLOC is
> nested beneath MALLOC (GNU_MALLOC is always MALLOC), but I'm not sure we
> want to document any internal implementation differences (if they're
> even significant). The existing documentation wasn't very detailed
> itself, but I still wanted to mention it.
IMHO the "a" modifier should be marked as deprecated, since it conflicts
with the %a format. I think it would be enough to mention it in a
paragraph, but nowhere else.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list