diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2009-07-18 19:32:20 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2009-07-18 19:32:20 (GMT) |
commit | abdece0949a7e66c95f45d27c1f2976f7cdf7949 (patch) | |
tree | 8f86f1e84d6cd7137c48df93c238bd1033338702 | |
parent | 70ad5961bf50bab266756b019eb4617a447b51b3 (diff) | |
download | tk-abdece0949a7e66c95f45d27c1f2976f7cdf7949.zip tk-abdece0949a7e66c95f45d27c1f2976f7cdf7949.tar.gz tk-abdece0949a7e66c95f45d27c1f2976f7cdf7949.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); } /* |