]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
prinf: replace use of alloca with variable length array.
authorPedro F. Giffuni <pfg@FreeBSD.org>
Sat, 10 May 2014 22:27:01 +0000 (22:27 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Sat, 10 May 2014 22:27:01 +0000 (22:27 +0000)
commit76f66be6bfc79104e9f4d0c9ee3ea0c9823ae17a
tree32e525280ad5e81183cfd5488c0e7e2e416aef57
parentb36b897e51ef92ecec742f7d5613081d7bef7973
prinf: replace use of alloca with variable length array.

Use of alloca(3) is discouraged in FreeBSD. Using a VLA
is simple and should be more portable.

Requested by: jilles
usr.bin/printf/printf.c