Tony Finch wrote:
Recompile with a bigger ARG_MAX or NCARG.
Recompile /what/ - the Linux kernel? Recompile /where/ - in the whole frigging *universe*? What about programs that are supposed to work on (GASP) several *n*x boxes (some of which are *not* Linux)?
What about precompiled Linux distributions? What if I want to use software shipped by vendors that *refuse* to consider bug reports from machines running Linux built in your damned garage (and if you ask me, they have a point - just how are they supposed to figure out the problem if everybody recompiles the bloody pile of crap with different settings, not to mention collecting the source code from different places, not to mention changing the source code)? Should I contact Red Hat and ask them to recompile with a bigger ARG_MAX?
And what does a bigger ARG_MAX mean? If it's a buffer allocated at run time, why the fuck can't exec() figure out the size at run time? And if it's allocated "statically", exactly where is it allocated, and what happens when you set the stupid constant to really large value?
These are just some of the reasons I decided to become the founder of Arguments, Inc. We are the guys passing your fucking arguments on every fucking box out there since 2100.
