diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 22:02:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-30 22:02:55 (GMT) |
commit | dc5930bc812a27e31bf8a0aa2fcf564ed7306a26 (patch) | |
tree | cfdd8df6ed6eeb844e46e1d630692a8a6137fbb9 /generic/regcomp.c | |
parent | f8b9e919c954be237c906a708530111607f88081 (diff) | |
parent | 186145578675341deb63fd53e6080896695c3574 (diff) | |
download | tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.zip tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.tar.gz tcl-dc5930bc812a27e31bf8a0aa2fcf564ed7306a26.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic/regcomp.c')
-rw-r--r-- | generic/regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/regcomp.c b/generic/regcomp.c index c1ceb51..983cd7a 100644 --- a/generic/regcomp.c +++ b/generic/regcomp.c @@ -2185,9 +2185,9 @@ stid( return "unable"; } if (t->id != 0) { - sprintf(buf, "%d", t->id); + snprintf(buf, bufsize, "%d", t->id); } else { - sprintf(buf, "%p", t); + snprintf(buf, bufsize, "%p", t); } return buf; } |