This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin nlsfuncs.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 9 Feb 2010 12:22:26 -0000
- Subject: src/winsup/cygwin nlsfuncs.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2010-02-09 12:22:26
Modified files:
winsup/cygwin : nlsfuncs.cc
Log message:
* nlsfuncs.cc (lc_wcstombs): Add `return_invalid' flag to specify
whether invalid chars should be ignored or not. Change comment.
(__set_lc_monetary_from_win): Call lc_wcstombs with return_invalid
flag set.
(__set_lc_messages_from_win): Simplify to accommodate the fact that
lc_wcstombs just ignores invalid chars. Explain why.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nlsfuncs.cc.diff?cvsroot=src&r1=1.18&r2=1.19