aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/ChangeLog
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-07-02 20:17:27 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-07-02 20:17:27 +0000
commit8fd8f9e72b5732296f54c3dda3fe90d9e0d813e2 (patch)
treeba00f6a89b25654d9d2a827734de7743464b7bba /winsup/cygwin/ChangeLog
parentceec584ad39bca6caa6704bde22af58551bb139f (diff)
downloadnewlib-8fd8f9e72b5732296f54c3dda3fe90d9e0d813e2.zip
newlib-8fd8f9e72b5732296f54c3dda3fe90d9e0d813e2.tar.gz
newlib-8fd8f9e72b5732296f54c3dda3fe90d9e0d813e2.tar.bz2
* fhandler.h (class fhandler_dev_clipboard): Remove member eof.
* fhandler_clipboard.cc: Throughout remove handling of eof member. (fhandler_dev_clipboard::write): Handle EOF condition immediately, rather than pushing it erroneously to the next read call. Rearrange code. Fix bug in CF_UNICODETEXT case which potentially dropped single bytes at the end of the buffer. Add comment. * strfuncs.cc (sys_cp_wcstombs): Allow returning non-NUL-terminated buffer if dst != NULL and len == (size_t) -1. Extend leading comment to explain what's returned in more detail.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r--winsup/cygwin/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7ae793f..998be8d 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,15 @@
+2012-07-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler.h (class fhandler_dev_clipboard): Remove member eof.
+ * fhandler_clipboard.cc: Throughout remove handling of eof member.
+ (fhandler_dev_clipboard::write): Handle EOF condition immediately,
+ rather than pushing it erroneously to the next read call. Rearrange
+ code. Fix bug in CF_UNICODETEXT case which potentially dropped single
+ bytes at the end of the buffer. Add comment.
+ * strfuncs.cc (sys_cp_wcstombs): Allow returning non-NUL-terminated
+ buffer if dst != NULL and len == (size_t) -1. Extend leading comment
+ to explain what's returned in more detail.
+
2012-07-02 Christopher Faylor <me.cygwin2012@cgf.cx>
* fhandler_virtual.cc (fhandler_virtual::opendir): Eliminate duplicate