Re: Issue in man page regex.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alex,
On Sun, Jan 22, 2023 at 10:03:46PM +0100, Alejandro Colomar wrote:
> On 1/22/23 20:31, Helge Kreutzmann wrote:
> > Without further ado, the following was found:
> > 
> > Issue:    How can a variable (I<preg>) free memory? Isn't it B<regfree>() which frees the memory?
> 
> How about the patch below?
> 
> Cheers,
> 
> Alex
> 
> > 
> > "Supplying B<regfree>()  with a precompiled pattern buffer, I<preg> will free"
> > "the memory allocated to the pattern buffer by the compiling process,"
> > "B<regcomp>()."
> 
> 
> diff --git a/man3/regex.3 b/man3/regex.3
> index 6f5831f24..f6faf6240 100644
> --- a/man3/regex.3
> +++ b/man3/regex.3
> @@ -240,7 +240,7 @@ .SS POSIX pattern buffer freeing
>  Supplying
>  .BR regfree ()
>  with a precompiled pattern buffer,
> -.I preg
> +.IR preg ,
>  will free the memory allocated to the pattern buffer by the compiling
>  process,
>  .BR regcomp ().

I don't really see a change here? It's only the markup, that changed?

Greetings

         Helge


-- 
      Dr. Helge Kreutzmann                     debian@xxxxxxxxxxxxx
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux