delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/21/09:37:08

Date: Sat, 21 Sep 2002 16:37:37 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-Id: <3277-Sat21Sep2002163736+0300-eliz@is.elta.co.il>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <3D8C381A.23922.6045C@localhost> (snowball3@softhome.net)
Subject: Re: working toward a realpath implementation
References: <3D8B92AB DOT 7174 DOT 567AAC AT localhost> (snowball3 AT softhome DOT net) <3D8C381A DOT 23922 DOT 6045C AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT softhome DOT net>
> Date: Sat, 21 Sep 2002 09:12:58 -0400
> 
> The documentation for realpath states that the output buffer is limited to  
> PATH_MAX characters. That is why I changed FILENAME_MAX to PATH_MAX so that 
> the realpath wrapper will automatically be compliant.

In that case, perhaps ENAMETOOLONG should be put into errno when the
file name is longer than FILENAME_MAX characters.  We can still have
the buffers PATH_MAX-long, if that's important.

- Raw text -


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