author | hume-github <hume-ml+github@bofh.ca> | |
Thu, 27 Sep 2012 13:43:09 +0000 (10:43 -0300) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 2 Oct 2012 07:32:47 +0000 (09:32 +0200) | ||
commit | 29781310b7c874032adf2bfff1386bf192f2e35c | |
tree | e16887e077e0cd422dbd4e191e07ad7b5fbc3b52 | tree | snapshot |
parent | 108c5bdea8339fdb27325d891a81ee7e05117ec8 | commit | diff |
ARG_MAX on Solaris is *very* large, 2 MB. Allocating that much on the
stack (local variable) overflows the thread stack and crashes the
process in weird and interesting ways.
"int i" is a useless variable and breaks the build with -Werror.
Signed-off-by: Florian Forster <octo@collectd.org>
stack (local variable) overflows the thread stack and crashes the
process in weird and interesting ways.
"int i" is a useless variable and breaks the build with -Werror.
Signed-off-by: Florian Forster <octo@collectd.org>
src/processes.c | diff | blob | history |