Index: [thread] [date] [subject] [author]
  From: Adrian Ratnapala <s369625@student.uq.edu.au>
  To  : ggi-develop@eskimo.com
  Date: Wed, 05 Aug 1998 22:17:10 +0000

Re: / vs \ [Re: PenguinPlay IRC meeting. GGI developers wanted]

Neal Tucker wrote:

> becka@rz.uni-duesseldorf.de wrote:
>
> An approach I have used for this in the past, which worked very well,
> was to represent paths as URL's as much as possible.  You need some
> simple utilities to convert a path to and from a URL based on your
> platform, but it's really convenient that the path separators and
> allowed chars are really well defined for URL's, and URL's are used on
> all platforms.
>

I think you might be right.  The thing is of course that  it involes some
bloat"small, yes, but it all adds up".  This is an issue for games.  How hard
is it to
do

   char* curr;
    for(curr = s; curr*; curr++)
        if(*curr=='/')*curr='\\';

Not exactly bulletproof, but probably good enough.

Ofcourse their is the multirooted filesystem stupidity to take care of.


Index: [thread] [date] [subject] [author]