On 9/14/21 2:41 PM, наб wrote:
alloca() is supported by PWB/UNIX[1] (V6) and UNIX/32V[2] (V7), for the PDP-11 and VAX, respectively; the former trickles into UNIX System III[3], and the latter into 3BSD[4] and later[5] 1: https://ftp.okass.net/pub/mirror/minnie.tuhs.org/Distributions/USDL/spencer_pwb.tar.gz sys/source/s4/util/alloca.s 2: https://ftp.okass.net/pub/mirror/minnie.tuhs.org/Distributions/USDL/32V/32v_usr.tar.gz usr/src/libc/sys/alloca.s 3: https://vetusware.com/download/UNIX%20System%20III%20Source%20Code%20SYSIII/?id=11576 4: https://ftp.okass.net/pub/mirror/minnie.tuhs.org/Distributions/UCB/ 5: https://archive.org/details/The_CSRG_Archives_CD-ROM_3_August_1998_Marshall_Kirk_McKusick Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@xxxxxxxxxxxxxxxxxx>
наб, patch applied! Cheers, Alex
--- man3/alloca.3 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/man3/alloca.3 b/man3/alloca.3 index 5bceeabe1..71348e609 100644 --- a/man3/alloca.3 +++ b/man3/alloca.3 @@ -84,11 +84,8 @@ T} Thread safety MT-Safe .SH CONFORMING TO This function is not in POSIX.1. .PP -There is evidence that the .BR alloca () -function appeared in 32V, PWB, PWB.2, 3BSD, and 4BSD. -There is a man page for it in 4.3BSD. -Linux uses the GNU version. +originates from PWB and 32V, and appears in all their derivatives. .SH NOTES The .BR alloca ()
-- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/