summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-03-24 03:05:06 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-03-24 03:05:06 (GMT)
commit01501cb37ad2ea7f8f79ec764861ad9f30c288db (patch)
tree47ff6d4dd50a9a0444dd816f910165caefc82844 /generic
parentb85919a586fb92b2e24b97ab1f7c5eb908acec4b (diff)
downloadtcl-01501cb37ad2ea7f8f79ec764861ad9f30c288db.zip
tcl-01501cb37ad2ea7f8f79ec764861ad9f30c288db.tar.gz
tcl-01501cb37ad2ea7f8f79ec764861ad9f30c288db.tar.bz2
Backported fix for #1923966
Diffstat (limited to 'generic')
-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) {