| delorie.com/archives/browse.cgi | search |
| From: | Laurence Withers <lwithers AT lwithers DOT demon DOT co DOT uk> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: findfirst and directories containing only subdirectories |
| Date: | Fri, 23 Jun 2000 12:53:32 +0100 |
| Message-ID: | <VIPhFJA8+0U5Ew+T@lwithers.demon.co.uk> |
| References: | <FOKFUUAqpSU5Ew8b AT lwithers DOT demon DOT co DOT uk> |
| <Pine DOT SUN DOT 3 DOT 91 DOT 1000622114601 DOT 24311J AT is> | |
| <H0vlKRA+qoU5Ew+E AT lwithers DOT demon DOT co DOT uk> | |
| <200006231014 DOT NAA28348 AT alpha DOT netvision DOT net DOT il> | |
| NNTP-Posting-Host: | lwithers.demon.co.uk |
| X-NNTP-Posting-Host: | lwithers.demon.co.uk:194.222.80.1 |
| X-Trace: | news.demon.co.uk 961800012 nnrp-02:27527 NO-IDENT lwithers.demon.co.uk:194.222.80.1 |
| X-Complaints-To: | abuse AT demon DOT net |
| MIME-Version: | 1.0 |
| X-Newsreader: | Turnpike Integrated Version 5.01 S <hlxPItNSbwmYszNzN6Z0zqnN6P> |
| Lines: | 24 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
In article <200006231014 DOT NAA28348 AT alpha DOT netvision DOT net DOT il>, Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> writes
>So either you posted a program that is different from what you
>actually run, or there's some factor specific to your system that is
>at work here.
The program was copied via cut-and-paste, so that is not the problem.
Obviously there is something wrong with my Win98 setup, and it's
something I'm not too worried about (I primarily work under a DOS box,
except for Internet stuff).
>Note that there's nothing wrong with errno being non-zero, since you
>didn't initialize it to zero before calling `findfirst'. But the
>status returned by `findfirst' should indeed be zero in the case you
>described.
Sorry - I'm too used to error handling via exceptions to know how to use
errno in any detail.
Thanks very much for your help, and bye for now,
--
Laurence Withers, lwithers AT lwithers DOT demon DOT co DOT uk
http://www.lwithers.demon.co.uk/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |