[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
porting kerberos
From: |
Marcus Brinkmann |
Subject: |
porting kerberos |
Date: |
Wed, 6 Jun 2001 03:59:10 +0200 |
User-agent: |
Mutt/1.2i |
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 NCARGS to INTMAX for compatibility with BSD programs
(in <sys/param.h>). If this is how BSD programs use that value,
we should probably define it to a lower value ;) or not define it at
all (but as I can see, we try to be BSD compatible).
I only noticed this because gcc complains about a negative error value.
Thanks,
Marcus
- porting kerberos,
Marcus Brinkmann <=