[physfs] Not finding any directories

Berry, David David.Berry at dcita.gov.au
Thu Dec 16 17:37:18 EST 2004

Ok - so when I enumerate a directory to get all the files contained
within, I then need to prepend that directory (and all the ones above
it) onto the returned filename before passing to isDirectory ?

Is that the correct approach?


-----Original Message-----
From: Ryan C. Gordon [mailto:icculus at clutteredmind.org] 
Sent: Friday, 17 December 2004 9:02 AM
To: physfs at icculus.org
Subject: Re: [physfs] Not finding any directories

> It is showing both files and directories - however,
 > isn't picking up the difference between a file and a directory.  It
 > should be returning a different result for the two.

It's returning 0 because it can't find "dir_1". "dir_1" doesn't exist. 
"test/dir_1" does, however, and should return 1.


More information about the physfs mailing list