[GRASS5] Re: [winGRASS] ARG_MAX and parser.c

Markus Neteler neteler at itc.it
Wed Aug 8 11:27:02 EDT 2001


Hi all,

may someone clarify below?

On Tue, Aug 07, 2001 at 04:07:06AM -0600, John Huddleston wrote:
> 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 


Thanks,

 Markus



More information about the grass-dev mailing list