[winGRASS] ARG_MAX and parser.c

John Huddleston jhudd at lamar.colostate.edu
Tue Aug 7 06:07:06 EDT 2001


Wingrass,

I see that someone checked in src/libes/gis/parser.c with ARG_MAX
It used to be 1024 in size.  The Posix size is 4096.   Normally this is
in the limits.h file.   Maybe we can put something in out gis.h header.
The char *G_recreate_command (void) function uses it lines 1365
and 1369.

#ifndef ARG_MAX
#define ARG_MAX 4096
#endif

Is that too large a size?

John Huddleston 




More information about the grass-windows mailing list