Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 1998 20:30:01 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/8165: minor inconsistency in dirent.h
Message-ID:  <199810070330.UAA01443@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: Bruce Evans <bde@zeta.org.au>
To: aledm@routers.co.uk, FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  Subject: Re: kern/8165: minor inconsistency in dirent.h
Date: Wed, 7 Oct 1998 13:26:42 +1000

 >These should be synchronised in the same way that MAXPATHLEN in sys/param.h
 >is fixed to PATH_MAX from sys/syslimits.h
 >
 >>How-To-Repeat:
 >
 >by inspection
 >
 >>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.
 
 Bruce

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?199810070330.UAA01443>