www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/21/09:43:50

Date: Sat, 21 Sep 1996 15:33:39 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: "Erik L. Jensen" <eljensen AT online DOT no>
cc: djgpp AT delorie DOT com
Subject: Re: 1 bug(?) open/readdir & glob
In-Reply-To: <01b60b88$d68ba0c0$9000d6c1@bigpapa>
Message-ID: <Pine.NEB.3.95.960921153235.9148G-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On 20 Sep 1996, Erik L. Jensen wrote:

>> > In djgpp it really doesn't matter whether you'll use findfirst/findnext
>or
>> > readdir. readdir() uses find... anyway.
>> 
>> Yes, It doesnt matter , but the problem is why you mentioned about it.
>> 
>> 
>
>Infact, it does matter if you want to quickly get hold of information like
>file size, attributes etc.
Right, but I meant in terms of using find... vs readdir().

>A readir() followed by stat() is much more complicated (try going throug
>the stat() code) and
>does little more than findxxx anyway..
That's right, but to write Unix compatible code you have to use stat anyway...

**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw...
******************* http://ananke.amu.edu.pl/~grendel ****************

- Raw text -


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