Date: Sat, 21 Sep 1996 15:33:39 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: "Erik L. Jensen" cc: djgpp AT delorie DOT com Subject: Re: 1 bug(?) open/readdir & glob In-Reply-To: <01b60b88$d68ba0c0$9000d6c1@bigpapa> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ****************