[Bug 240398] -D_XOPEN_SOURCE=500 incorrectly warns about missing snprintf()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 8 12:23:18 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240398

Jilles Tjoelker <jilles at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jilles at FreeBSD.org

--- Comment #3 from Jilles Tjoelker <jilles at FreeBSD.org> ---
I agree with the snprintf/vsnprintf part of
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207271&action=diff except
that the test should be for __POSIX_VISIBLE >= 199506 instead of __XSI_VISIBLE
>= 500 since this is not an XSI extension.

The change to vfscanf/vscanf/vsscanf is redundant since __XSI_VISIBLE == 600
already implies C99.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-standards mailing list