Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E47F36E.B9046079@phekda.freeserve.co.uk> Date: Mon, 10 Feb 2003 18:46:07 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: fix for copyrite.c[c]/copyrite.pl References: <3E450FB4 DOT 28479 DOT B954E177 AT localhost> from "Cyrus Patel" at Feb 08, 2003 02:08:34 PM <3E47B9E6 DOT 29472 DOT C3BDC5DE AT localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Cyrus Patel wrote: [snip] > In fact, my initial decision for a dir walk was because I assumed > I could get the file type from the dirent, and so avoid uneccessary > stat()s for directories. That doesn't work on djgpp (djgpp's dirent, > like linux's, but unlike bsd/sysv, has no d_type member). [snip] FWIW dirent does have a d_type member in DJGPP CVS (read: what will be DJGPP 2.04). Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]