author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 31 Jan 2009 23:32:12 +0000 (00:32 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 31 Jan 2009 23:32:12 +0000 (00:32 +0100) | ||
commit | 42f7cda0cc181fb90bbe7c8c892c451914b72fd4 | |
tree | 61b8fdc559035f0a44473fcc926ea527dd3beaf5 | tree | snapshot |
parent | d99dc6b0dc0f4f096ebb93c827a0cea2fd4e09e2 | commit | diff |
processes plugin: Fix the ARG_MAX stuff yet again.
The `sysconf' approach does not work when doing something like
char cmdline[ARG_MAX];
which is exactly what was done in the processes plugin.
Just use 4k whenever the define is not available - ought to be enough
for anybody! ;)
The `sysconf' approach does not work when doing something like
char cmdline[ARG_MAX];
which is exactly what was done in the processes plugin.
Just use 4k whenever the define is not available - ought to be enough
for anybody! ;)
src/processes.c | diff | blob | history |