Date: Wed, 7 Oct 1998 15:20:02 -0700 (PDT) From: Aled Morris <aledm@routers.co.uk> To: freebsd-bugs@FreeBSD.ORG Subject: Re: kern/8165: minor inconsistency in dirent.h Message-ID: <199810072220.PAA16207@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/8165; it has been noted by GNATS. From: Aled Morris <aledm@routers.co.uk> To: Bruce Evans <bde@zeta.org.au> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/8165: minor inconsistency in dirent.h Date: Wed, 7 Oct 1998 23:17:53 +0100 (BST) On Wed, 7 Oct 1998, Bruce Evans wrote: >>>Fix: >> >>to sys/dirent.h add #include <sys/syslimits.h> >>and change "#define MAXNAMLEN 255" to "#define MAXNAMLEN NAME_MAX" > >This would pollute <dirent.h> some more and is not permitted in the >_POSIX_SOURCE case. I understand what you're saying, but do you agree that having the same constant (i.e. constants with the same meaning) being defined in two places is bad? Aled -- tel +44 973 207987 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810072220.PAA16207>