diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-04-01 15:31:18 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-04-23 21:57:09 +0200 |
commit | 9b42474f293d068dcaa65f2f20ca268c51c960ec (patch) | |
tree | 91b253b909bab4b1b3259f926bf6c5fe9a0c5672 /winsup | |
parent | 71a897e40d4a9f0b3a6caf6bae974c00aae2cbe8 (diff) | |
download | newlib-9b42474f293d068dcaa65f2f20ca268c51c960ec.zip newlib-9b42474f293d068dcaa65f2f20ca268c51c960ec.tar.gz newlib-9b42474f293d068dcaa65f2f20ca268c51c960ec.tar.bz2 |
Fix UTF-16 surrogate handling in wctomb and friends.
* libc/stdlib/wctomb_r.c (__utf8_wctomb): Fix check for handling a
lone high surrogate.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/release/1.7.36 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/release/1.7.36 b/winsup/cygwin/release/1.7.36 index 21175c9..0515ef9 100644 --- a/winsup/cygwin/release/1.7.36 +++ b/winsup/cygwin/release/1.7.36 @@ -35,3 +35,6 @@ Bug Fixes - Avoid potential crash at startup or in getgroups(2). Addresses: https://cygwin.com/ml/cygwin/2015-04/msg00010.html + +- Fix UTF-16 surrogate handling in wctomb and friends. + Addresses: https://cygwin.com/ml/cygwin/2015-03/msg00452.html |