f90f47a0f2
with lots of testing by sthen@
13 lines
501 B
Plaintext
13 lines
501 B
Plaintext
$OpenBSD: patch-tcl_tcl_rep_c,v 1.2 2007/10/26 14:06:02 steven Exp $
|
|
--- tcl/tcl_rep.c.orig Tue Jun 19 21:43:45 2007
|
|
+++ tcl/tcl_rep.c Sat Sep 15 12:39:57 2007
|
|
@@ -528,7 +528,7 @@ tcl_RepStart(interp, objc, objv, dbenv)
|
|
|
|
i = 2;
|
|
while (i < objc) {
|
|
- if (Tcl_GetIndexFromObj(interp, objv[i], tclrpstrt,
|
|
+ if (Tcl_GetIndexFromObj(interp, objv[i], (CONST84 char **)tclrpstrt,
|
|
"option", TCL_EXACT, &optindex) != TCL_OK) {
|
|
arg = Tcl_GetStringFromObj(objv[i], NULL);
|
|
if (arg[0] == '-')
|