[Bug localedata/14257] setlocale(LC_CTYPE, NULL) causes undesired side effects

schwab@linux-m68k.org sourceware-bugzilla@sourceware.org
Sat Jun 16 17:49:00 GMT 2012


http://sourceware.org/bugzilla/show_bug.cgi?id=14257

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-06-16 17:47:41 UTC ---
This has nothing to do with setlocale.  You are mixing char with wide char I/O
on the same stream (printf vs. putwc).  The first output makes the orientation
permanent until the stream is closed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Libc-locales mailing list