summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:15:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-08-28 11:15:19 (GMT)
commitda423a1424e34834a64c209244ef64ca7c275f7d (patch)
tree3820ac7dda66c4d317cedc091c671a5c231046db /generic/tclRegexp.c
parent478e248339265d65360a9ad85ae239fec700f6a3 (diff)
parente9a4ca4f22d40f304a6f50f9b410651ce75098cd (diff)
downloadtcl-da423a1424e34834a64c209244ef64ca7c275f7d.zip
tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.gz
tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c
index d3f7428..b4fd811 100644
--- a/generic/tclRegexp.c
+++ b/generic/tclRegexp.c
@@ -725,12 +725,12 @@ TclRegError(
const char *p;
Tcl_ResetResult(interp);
- n = TclReError(status, NULL, buf, sizeof(buf));
+ n = TclReError(status, buf, sizeof(buf));
p = (n > sizeof(buf)) ? "..." : "";
Tcl_SetObjResult(interp, Tcl_ObjPrintf("%s%s%s", msg, buf, p));
sprintf(cbuf, "%d", status);
- (void) TclReError(REG_ITOA, NULL, cbuf, sizeof(cbuf));
+ (void) TclReError(REG_ITOA, cbuf, sizeof(cbuf));
Tcl_SetErrorCode(interp, "REGEXP", cbuf, buf, NULL);
}