CVSROOT: /cvs/src Module name: src Changes by: cori...@sourceware.org 2012-07-02 20:17:28
Modified files: winsup/cygwin : ChangeLog fhandler.h fhandler_clipboard.cc strfuncs.cc Log message: * 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. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.5894&r2=1.5895 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.471&r2=1.472 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_clipboard.cc.diff?cvsroot=src&r1=1.50&r2=1.51 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/strfuncs.cc.diff?cvsroot=src&r1=1.48&r2=1.49