summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2008-03-24 03:05:05 (GMT)
committerpatthoyts <patthoyts@noemail.net>2008-03-24 03:05:05 (GMT)
commit2ca45f64669596f0de606060b48dbbfda6bc7b58 (patch)
tree47ff6d4dd50a9a0444dd816f910165caefc82844 /generic/tclBinary.c
parent67eb8365f2298753186e7696e4fa6dab95236ea7 (diff)
downloadtcl-2ca45f64669596f0de606060b48dbbfda6bc7b58.zip
tcl-2ca45f64669596f0de606060b48dbbfda6bc7b58.tar.gz
tcl-2ca45f64669596f0de606060b48dbbfda6bc7b58.tar.bz2
Backported fix for #1923966
FossilOrigin-Name: 9b5466e5bcf6b578a0b3f4950791dca2628217ed
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index b5bd3ff..fb47015 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclBinary.c,v 1.13.2.5 2007/06/30 13:56:23 dkf Exp $
+ * RCS: @(#) $Id: tclBinary.c,v 1.13.2.6 2008/03/24 03:05:07 patthoyts Exp $
*/
#include "tclInt.h"
@@ -793,7 +793,9 @@ Tcl_BinaryObjCmd(dummy, interp, objc, objv)
break;
}
if ((count == 0) && (cmd != '@')) {
- arg++;
+ if (cmd != 'x') {
+ arg++;
+ }
continue;
}
switch (cmd) {