delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/26/08:53:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A71804B.F2D7E82D@yahoo.com>
Date: Fri, 26 Jan 2001 08:48:59 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>, newlib AT sources DOT redhat DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Andrej Borsenkow <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
CC: Cygwin Mailing List <Cygwin AT cygwin DOT com>, newlib AT sources DOT redhat DOT com
Subject: Re: PATH_MAX and FILENAME_MAX
References: <000001c0877f$67915cf0$21c9ca95 AT mow DOT siemens DOT ru>
Note-from-DJ: This may be spam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019