Re: porting kerberos

2001-06-07 Thread Roland McGrath
> #ifndef NCARGS > /* Linux doesn't seem to have it. */ > #define NCARGS 1024 > #endif > > char cmdbuf[NCARGS+1] > > We define NCARGS to INTMAX for compatibility with BSD programs > (in ). If this is how BSD programs use that value, > we should probably define it to a lower value ;) or not defi

porting kerberos

2001-06-05 Thread Marcus Brinkmann
Hi, I am right now porting kerberos, and beside the usual issues like MAXPATHLEN, MAXHOSTNAMELEN, wrong use of __MACH__ and sys_errlist[], errno, there is an interesting one: #ifndef NCARGS /* Linux doesn't seem to have it. */ #define NCARGS 1024 #endif char cmdbuf[NCARGS+1] We define N