delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/31/18:28:43

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
Date: Tue, 31 Oct 2000 18:01:56 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: Re: Problem in readlink() function?
Message-ID: <20001031180156.A30725@redhat.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: cygwin AT sources DOT redhat DOT com
References: <LMBBKGINDNGEAHNCKNNEAEHLCLAA DOT max AT huville DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.6i
In-Reply-To: <LMBBKGINDNGEAHNCKNNEAEHLCLAA.max@huville.com>; from max@huville.com on Tue, Oct 31, 2000 at 05:25:38PM -0500

On Tue, Oct 31, 2000 at 05:25:38PM -0500, Jeff Hu wrote:
>According to the documentation I have, the readlink() function is supposed
>to return ENOENT, EINVAL, or ERANGE in the errno global variable if the file
>doesn't exist, is not a symlink, or is too long.
>
>But I'm seeing that errno is being set to 0 for files that don't exist.
>
>This is with the latest CVS source of path.cc

Yep.  There's a problem.  I've just checked in a fix.

Thanks for the bug report.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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