This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #15381] Initialize wide struct info.
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: Julius Plenz <julius at plenz dot com>, Carlos O'Donell <carlos at redhat dot com>, Andreas Schwab <schwab at suse dot de>, libc-alpha at sourceware dot org
- Date: Fri, 17 May 2013 10:26:02 +0200
- Subject: Re: [PATCH] [BZ #15381] Initialize wide struct info.
- References: <mvmmwryyq0g dot fsf at hawking dot suse dot de> <20130514115913 dot GF20282 at plenz dot com> <20130514123120 dot GA18821 at domone dot kolej dot mff dot cuni dot cz>
OndÅej BÃlka <neleai@seznam.cz> writes:
> @@ -643,6 +643,7 @@ _IO_no_init (fp, flags, orientation, wd, jmp)
> {
> _IO_old_init (fp, flags);
> fp->_mode = orientation;
> + fp->_wide_data = (void *) -1;
> #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
_wide_data is only availble inside this conditional.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."