summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2008-03-24 03:05:06 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2008-03-24 03:05:06 (GMT)
commit964ff63b7f1951f80526c76f595b95e4cb3d3d9c (patch)
tree47ff6d4dd50a9a0444dd816f910165caefc82844 /generic/tclBinary.c
parentac91d68c1c48ef8a56388c51efceacebab73aaee (diff)
downloadtcl-964ff63b7f1951f80526c76f595b95e4cb3d3d9c.zip
tcl-964ff63b7f1951f80526c76f595b95e4cb3d3d9c.tar.gz
tcl-964ff63b7f1951f80526c76f595b95e4cb3d3d9c.tar.bz2
Backported fix for #1923966
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) {