Mercurial > hg > xemacs-beta
diff src/regex.c @ 1425:74cb069b8417
[xemacs-hg @ 2003-04-23 15:42:44 by stephent]
stale match data <87fzo99rje.fsf@tleepslib.sk.tsukuba.ac.jp>
new split-string <87d6jd9qis.fsf@tleepslib.sk.tsukuba.ac.jp>
support (info "(file)node") <87adeh9qa7.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Wed, 23 Apr 2003 15:42:52 +0000 |
parents | 56496b493888 |
children | 0f42689481f0 |
line wrap: on
line diff
--- a/src/regex.c Tue Apr 22 03:24:13 2003 +0000 +++ b/src/regex.c Wed Apr 23 15:42:52 2003 +0000 @@ -5209,7 +5209,10 @@ It would be possible to require the caller to do this, but we'd have to change the API for this function to reflect that, and - audit all callers. */ + audit all callers. Note: as of 2003-04-17 callers in XEmacs + do clear the registers, but it's safer to leave this code in + because of reallocation. + */ if (regs && regs->num_regs > 0) for (mcnt = num_nonshy_regs; mcnt < regs->num_regs; mcnt++) regs->start[mcnt] = regs->end[mcnt] = -1;