From 565d6ede3f00feb2075654e16522056a92d08e6e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 23 Sep 2009 12:01:42 +0000 Subject: [PATCH] Fix typo. --- winsup/cygwin/ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index da3e4f5e5..08e891394 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -3,7 +3,7 @@ * strfuncs.cc (sys_cp_wcstombs): Convert lone surrogate pair second halves to unambiguous ASCII SO sequence. When converting chars invalid in current codepage to ASCII SO sequence, make - sure to check for surrogate pair second half only if ct least + sure to check for surrogate pair second half only if at least one wide characters is left. Decrement nwc if valid second half has been converted. (sys_cp_mbstowcs): Improve ASCII SO handling. Never break from loop