summaryrefslogtreecommitdiffstats
path: root/generic/tclRegexp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-20 17:51:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-20 17:51:42 (GMT)
commita1a443ef1d639bba76f8e66f8fa9aae4b4802e4f (patch)
treef14659ed7bad541414714dedd7495931b47ebfaa /generic/tclRegexp.c
parent797aa89a3070e3e505f1761759a3264ce1628101 (diff)
parent66386bc18bd9bde161513ff164561c0e052d35b5 (diff)
downloadtcl-a1a443ef1d639bba76f8e66f8fa9aae4b4802e4f.zip
tcl-a1a443ef1d639bba76f8e66f8fa9aae4b4802e4f.tar.gz
tcl-a1a443ef1d639bba76f8e66f8fa9aae4b4802e4f.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclRegexp.c')
-rw-r--r--generic/tclRegexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclRegexp.c b/generic/tclRegexp.c
index 39c7ad2..4e3c6c5 100644
--- a/generic/tclRegexp.c
+++ b/generic/tclRegexp.c
@@ -960,7 +960,7 @@ CompileRegexp(
if (TclReToGlob(NULL, string, length, &stringBuf, &exact,
NULL) == TCL_OK) {
- regexpPtr->globObjPtr = TclDStringToObj(&stringBuf);
+ regexpPtr->globObjPtr = Tcl_DStringToObj(&stringBuf);
Tcl_IncrRefCount(regexpPtr->globObjPtr);
} else {
regexpPtr->globObjPtr = NULL;