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


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to