* [PATCH] Don't use _G_va_list in bits/wchar2.h
@ 2005-07-22 8:51 Jakub Jelinek
2005-07-22 15:12 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2005-07-22 8:51 UTC (permalink / raw)
To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers
Hi!
_G_va_list is only defined in <_G_config.h>, which is included by
libio.h or stdio.h, but not wchar.h. So including just wchar.h
and not stdio.h with -D_FORTIFY_SOURCE=2 is fatal without this
patch.
2005-07-22 Jakub Jelinek <jakub@redhat.com>
* wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
__gnuc_va_list rather than _G_va_list.
--- libc/wcsmbs/bits/wchar2.h.jj 2005-07-22 10:48:04.000000000 +0200
+++ libc/wcsmbs/bits/wchar2.h 2005-07-22 10:49:09.000000000 +0200
@@ -236,9 +236,9 @@ extern int __wprintf_chk (int __flag, __
...);
extern int __vfwprintf_chk (FILE *__restrict __stream, int __flag,
__const wchar_t *__restrict __format,
- _G_va_list __ap);
+ __gnuc_va_list __ap);
extern int __vwprintf_chk (int __flag, __const wchar_t *__restrict __format,
- _G_va_list __ap);
+ __gnuc_va_list __ap);
# define wprintf(...) \
__wprintf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Don't use _G_va_list in bits/wchar2.h
2005-07-22 8:51 [PATCH] Don't use _G_va_list in bits/wchar2.h Jakub Jelinek
@ 2005-07-22 15:12 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2005-07-22 15:12 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers
[-- Attachment #1: Type: text/plain, Size: 101 bytes --]
Applied.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-22 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-22 8:51 [PATCH] Don't use _G_va_list in bits/wchar2.h Jakub Jelinek
2005-07-22 15:12 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).