summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-10-15 22:25:45 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-10-15 22:25:45 (GMT)
commit10368d528d4f238bb7d476e66b074c8a47d2cd0f (patch)
tree2ec55aa3e2cec410e32a9e471b62b6310b38fcfa /generic/tclProc.c
parentd8433ed3a82e712c3a70e87b47280c2c7b66fef7 (diff)
downloadtcl-10368d528d4f238bb7d476e66b074c8a47d2cd0f.zip
tcl-10368d528d4f238bb7d476e66b074c8a47d2cd0f.tar.gz
tcl-10368d528d4f238bb7d476e66b074c8a47d2cd0f.tar.bz2
Doh ... strncmp, not strcmp needed in last commit.
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index d7e06e3..c20096e 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.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: tclProc.c,v 1.30 2001/10/15 22:15:19 msofer Exp $
+ * RCS: @(#) $Id: tclProc.c,v 1.31 2001/10/15 22:25:45 msofer Exp $
*/
#include "tclInt.h"
@@ -170,7 +170,7 @@ Tcl_ProcObjCmd(dummy, interp, objc, objv)
procArgs++;
}
- if ((procArgs[0] == 'a') && (strcmp(procArgs, "args") == 0)) {
+ if ((procArgs[0] == 'a') && (strncmp(procArgs, "args", 4) == 0)) {
procArgs +=4;
while(*procArgs != '\0') {
if (*procArgs != ' ') {