On Sat, 2013-02-23 at 22:31 -0800, Jeremy Chadwick wrote:
> 
> Also, John, please consider using malloc(3) instead of heap-allocated
> buffers like file_buffer[6][] (196608 bytes) and command[] (32769
> bytes).  I'm referring to this: 

Why?  I absolutely do not understand why people are always objecting to
large stack-allocated arrays in userland code (sometimes with the
definition of "large" being as small as 2k for some folks).

-- Ian


_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to