[physfs] What are the real benefits of PhysFS ?

Tim Čas darkuranium at gmail.com
Fri Jul 17 17:21:51 EDT 2009


You should NEVER EVER name files like that (even if you're not a programmer)
- because, what happens when you, say, copy the files onto an USB drive with
a FAT partition that Windows would read? (remember: Win is not
case-sensitive)

Or if you (or someone else) decides to port your application later?

2009/7/17 Daniel Aquino <mr.danielaquino at gmail.com>

> If physfs is not case sensitive then what happens when your on unix
> and you have FILE.txt and file.txt in the same folder ?
>
> On Fri, Jul 17, 2009 at 1:29 PM, Daniel Aquino<mr.danielaquino at gmail.com>
> wrote:
> > hm ok so your saying that physfs works in a non case sensitive
> > manner... that would infact fix problems on linux...
> >
> > On Fri, Jul 17, 2009 at 1:27 PM, Indy Sams<indy at driftsolutions.com>
> wrote:
> >> Hello Daniel,
> >>
> >>        No, he's saying using physfs that it will find it with
> PHYSFS_openRead, etc.
> >>
> >>        It's only when adding files/dirs to the path that  you have to
> worry about the case of the zip file for example: file.zip != FILE.ZIP on
> Linux, but on Windows file.zip == FILE.ZIP
> >>
> >>
> >> Friday, July 17, 2009, 12:45:38 PM, you wrote:
> >>
> >> DA> so are you saying that while using physfs if you try to find
> file.txt
> >> DA> it won't find FILE.TXT ?
> >>
> >> DA> On Fri, Jul 17, 2009 at 12:41 PM, Ryan C.
> >> DA> Gordon<icculus at icculus.org> wrote:
> >>
> >>>>> What file name case issues does it help with?
> >>
> >>>> On Windows, file.txt and FILE.TXT are the same thing. On Linux, they
> are
> >>>> different files. Having all your i/o come out of a zip file avoids
> this
> >>>> issue (or, at least, limits it to only worrying about getting the case
> of
> >>>> the .zip file itself right).
> >>
> >>>> --ryan.
> >>
> >>
> >>>> _______________________________________________
> >>>> physfs mailing list
> >>>> physfs at icculus.org
> >>>> http://icculus.org/mailman/listinfo/physfs
> >>
> >> DA> _______________________________________________
> >> DA> physfs mailing list
> >> DA> physfs at icculus.org
> >> DA> http://icculus.org/mailman/listinfo/physfs
> >>
> >>
> >> Best regards,
> >>  Indy Sams
> >>  mailto:indy at driftsolutions.com
> >>
> >>  P.S. This is what part of the alphabet would look like if Q & R were
> eliminated.
> >>
> >> _______________________________________________
> >> physfs mailing list
> >> physfs at icculus.org
> >> http://icculus.org/mailman/listinfo/physfs
> >>
> >
> _______________________________________________
> physfs mailing list
> physfs at icculus.org
> http://icculus.org/mailman/listinfo/physfs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20090717/263d3b1b/attachment-0001.htm>


More information about the physfs mailing list