Re: Improving alloca() manpage

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

 



On Tuesday 19 November 2024 13:21:14 Alejandro Colomar wrote:
> I've applied a slightly different wording, but yeah, LGTM.
> 
> <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib>
> 	commit a6e8435b161a513576ce39f524f4fbd3eb621fe7 (HEAD -> contrib, alx/contrib)
> 	Author: Alejandro Colomar <alx@xxxxxxxxxx>
> 	Date:   Tue Nov 19 13:17:27 2024 +0100
> 
> 	    alloca.3: Clarify that alloca(3)ted space is deallocated when the function returns
> 	    
> 	    Reported-by: Pali Rohár <pali@xxxxxxxxxx>
> 	    Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx>
> 
> 	diff --git a/man/man3/alloca.3 b/man/man3/alloca.3
> 	index 0d079ac1d..0baf8f1ce 100644
> 	--- a/man/man3/alloca.3
> 	+++ b/man/man3/alloca.3
> 	@@ -87,7 +87,8 @@ .SH NOTES
> 	 is
> 	 .I not
> 	 automatically deallocated if the pointer that refers to it
> 	-simply goes out of scope.
> 	+simply goes out of scope;
> 	+it is automatically deallocated when the function returns.
> 	 .P
> 	 Do not attempt to
> 	 .BR free (3)
> 
> Thanks for the report!
> 
> Have a lovely day!
> Alex
> 
> P.S.:  Please use <alx@xxxxxxxxxx>.  I'm deprecating my google accounts.
> 
> P.S.2:  Please remember to CC linux-man@.

Thank you for very quick response and fixup.
And sure, I will do both PSs.




[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