This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem in readlink() function?


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]