cvs commit: src/usr.bin/getconf getconf.c
Mark Murray
mark at grondar.org
Tue Jul 22 05:03:58 PDT 2003
Bruce Evans writes:
> > Replace an alloca() call with a slightly more standard malloc()/free()
> > pair.
>
> Isn't malloc()/free() more than slightly standard?
"Understatement".
> Variable-length arrays are more than slightly standard too (they became
> standard before getconf) and are well suited to replacing alloca() here.
There are very many non-alloca() ways to do this. I chose this way.
M
--
Mark Murray
iumop ap!sdn w,I idlaH
More information about the cvs-src
mailing list