On Dienstag 26 Oktober 2010, Spiro Trikaliotis wrote: > Hello, > > * On Tue, Oct 26, 2010 at 06:49:45PM +0200 Groepaz wrote: > > On Dienstag 26 Oktober 2010, you wrote: > > > That "mystery entry" is the name of the volume being read. > > > > and as such it doesnt belong into the list of filenames aka directory :) > > You do not know the directory entries of FAT/DOS, do you? ;) i do :) then again (as far as nitpicking goes =P) DOS doesnt have opendir/readdir at all, it uses findfirst/findnext which work differently (and which would only return files and directories unless other attributes are specifically requested, afair). however, again afair (i am just too lazy to look up the manpage right now hehe), there are (somewhat "standard") extensions to the direntry and/or DIR struct that let opendir/readdir return the metadata required to properly deal with volume names, subdirectories etc. -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ftp.pokefinder.org Politicians are like diapers. They both need changing regularly and for the same reason. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Oct 26 19:42:50 2010
This archive was generated by hypermail 2.1.8 : 2010-10-26 19:42:53 CEST