processes plugin: Fix the ARG_MAX stuff yet again.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 31 Jan 2009 23:32:12 +0000 (00:32 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 31 Jan 2009 23:32:12 +0000 (00:32 +0100)
commit42f7cda0cc181fb90bbe7c8c892c451914b72fd4
tree61b8fdc559035f0a44473fcc926ea527dd3beaf5
parentd99dc6b0dc0f4f096ebb93c827a0cea2fd4e09e2
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! ;)
src/processes.c