cvs commit: src/usr.bin/getconf getconf.c
Bruce Evans
bde at zeta.org.au
Tue Jul 22 04:37:51 PDT 2003
On Mon, 21 Jul 2003, Mark Murray wrote:
> markm 2003/07/21 13:55:38 PDT
>
> FreeBSD src repository
>
> Modified files:
> usr.bin/getconf getconf.c
> Log:
> Replace an alloca() call with a slightly more standard malloc()/free()
> pair.
Isn't malloc()/free() more than slightly standard?
Variable-length arrays are more than slightly standard too (they became
standard before getconf) and are well suited to replacing alloca() here.
Bruce
More information about the cvs-src
mailing list