diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-07-18 19:32:20 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-07-18 19:32:20 (GMT) |
commit | e2a33629447afdc96d9884f479f2edf276c6479f (patch) | |
tree | 8f86f1e84d6cd7137c48df93c238bd1033338702 | |
parent | 19ea3b5ea84ea9eb57051fc996bb06ce0fecd1f6 (diff) | |
download | tk-e2a33629447afdc96d9884f479f2edf276c6479f.zip tk-e2a33629447afdc96d9884f479f2edf276c6479f.tar.gz tk-e2a33629447afdc96d9884f479f2edf276c6479f.tar.bz2 |
Fix the transfer of large binary data. I hate INCR selections transfers...
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tkUnixSelect.c | 4 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2009-07-18 Donal K. Fellows <dkf@users.sf.net> + + * unix/tkUnixSelect.c (SelCvtFromX32, SelCvtFromX8): Make the + incremental transfer of binary selections work get deserialized + correctly. Thanks to Emiliano Gavilan for detecting. + 2009-07-15 Donal K. Fellows <dkf@users.sf.net> * unix/tkUnixSelect.c (TkSelEventProc, SelRcvIncrProc, SelCvtFromX8): diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c index 1de8bdc..fda261c 100644 --- a/unix/tkUnixSelect.c +++ b/unix/tkUnixSelect.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixSelect.c,v 1.21.4.1 2009/07/15 21:08:43 dkf Exp $ + * RCS: @(#) $Id: tkUnixSelect.c,v 1.21.4.2 2009/07/18 19:32:20 dkf Exp $ */ #include "tkInt.h" @@ -1504,6 +1504,7 @@ SelCvtFromX32( Tcl_DStringAppendElement(dsPtr, buf); } } + Tcl_DStringAppend(dsPtr, " ", 1); } static void @@ -1528,6 +1529,7 @@ SelCvtFromX8( sprintf(buf, "0x%x", (unsigned char) *propPtr); Tcl_DStringAppendElement(dsPtr, buf); } + Tcl_DStringAppend(dsPtr, " ", 1); } /* |