This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/18982] va_list and vprintf
- From: "mx2927 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 01 Oct 2015 15:49:47 +0000
- Subject: [Bug stdio/18982] va_list and vprintf
- Auto-submitted: auto-generated
- References: <bug-18982-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18982
--- Comment #2 from M Manfredini <mx2927 at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #1)
> As specified in the x86_64 ABI, va_list is an array type on x86_64.
> Thus, this is a documentation issue (failing to point out that when
> va_list is an array type, it is passed by reference).
If it is going to be handled as a documentation issue, I think that it should
specify that vprintf and friends make va_list unusable after the call,
irrespective of the platform.
I.e. portability as the behavior that can reliably be expected on different
platforms.
--
You are receiving this mail because:
You are on the CC list for the bug.