On 4/21/23 03:24, наб wrote: > Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx> Patch applied. Thanks! Alex > --- > Range-diff against v6: > 1: 1ad1aa6e9 < -: --------- regex.3: Desoupify regexec() description > 2: 6c4d26f89 < -: --------- regex.3: Desoupify regerror() description > 3: 4b7971a5e ! 1: 5706f1892 regex.3: Desoupify regfree() description > @@ man3/regex.3: .SS Error reporting > -.IR preg , > -will free the memory allocated to the pattern buffer by the compiling > -process, > -+invalidates the pattern buffer at > ++deinitializes the pattern buffer at > +.IR *preg , > -+which must have been initialized via > ++freeing any associated memory; > ++.I *preg > ++must have been initialized via > .BR regcomp (). > .SH RETURN VALUE > .BR regcomp () > > man3/regex.3 | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/man3/regex.3 b/man3/regex.3 > index 3f1529583..ffdd98376 100644 > --- a/man3/regex.3 > +++ b/man3/regex.3 > @@ -225,12 +225,12 @@ .SS Error reporting > .IR errbuf ; > the error string is always null-terminated, and truncated to fit. > .SS Freeing > -Supplying > .BR regfree () > -with a precompiled pattern buffer, > -.IR preg , > -will free the memory allocated to the pattern buffer by the compiling > -process, > +deinitializes the pattern buffer at > +.IR *preg , > +freeing any associated memory; > +.I *preg > +must have been initialized via > .BR regcomp (). > .SH RETURN VALUE > .BR regcomp () -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature