This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: PATH_MAX and FILENAME_MAX
- To: Andrej Borsenkow <Andrej dot Borsenkow at mow dot siemens dot ru>
- Subject: Re: PATH_MAX and FILENAME_MAX
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 26 Jan 2001 08:48:59 -0500
- CC: Cygwin Mailing List <Cygwin at cygwin dot Com>, newlib at sources dot redhat dot com
- References: <000001c0877f$67915cf0$21c9ca95@mow.siemens.ru>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>, newlib at sources dot redhat dot com
Andrej Borsenkow wrote:
>
> Doing something different, this caught my eyes:
>
> $ grep PATH_MAX /usr/include/*.h
> /usr/include/limits.h:#define PATH_MAX (260 - 1 /*NUL*/)
> /usr/include/limits.h:#define _POSIX_PATH_MAX 255
> /usr/include/stdio.h:#define FILENAME_MAX 1024 /* must be <= PATH_MAX
> <sys/syslimits.h> */
> /usr/include/stdio.h:#define L_tmpnam 1024 /* XXX must be ==
> PATH_MAX */
>
> So are comments misleading or FILENAME_MAX (and L_tmpnam) should be changed?
>
The comments are correct. This is a newlib issue. I've CC'ed the
newlib list in my response.
Earnie.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple