svn - but smaller?
Ian Lepore
ian at FreeBSD.org
Sun Feb 24 19:59:03 UTC 2013
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
More information about the freebsd-stable
mailing list