diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-28 11:15:19 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-08-28 11:15:19 (GMT) |
commit | da423a1424e34834a64c209244ef64ca7c275f7d (patch) | |
tree | 3820ac7dda66c4d317cedc091c671a5c231046db /generic/tclRegexp.c | |
parent | 478e248339265d65360a9ad85ae239fec700f6a3 (diff) | |
parent | e9a4ca4f22d40f304a6f50f9b410651ce75098cd (diff) | |
download | tcl-da423a1424e34834a64c209244ef64ca7c275f7d.zip tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.gz tcl-da423a1424e34834a64c209244ef64ca7c275f7d.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r-- | generic/tclRegexp.c | 4 |
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); } |