| delorie.com/archives/browse.cgi | search |
| 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 |
| From: | "Jeff Hu" <max AT huville DOT com> |
| To: | <cygwin AT sourceware DOT cygnus DOT com> |
| Subject: | Problem in readlink() function? |
| Date: | Tue, 31 Oct 2000 17:25:38 -0500 |
| Message-ID: | <LMBBKGINDNGEAHNCKNNEAEHLCLAA.max@huville.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
| Importance: | Normal |
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 Thanks, Jeff -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |