On Windows the directory separator can appear as *either* '/' or '\'
depending on circumstances, and that the drive separator is a different
thing altogether, and that the start of a share begins with '\\'. In the
end, a platform-specific path management library is definitely called for.
----- Original Message -----
From: "Karl Fogel" <kfogel@galois.collab.net>
To: <dev@subversion.tigris.org>
Sent: Friday, August 11, 2000 11:06 AM
Subject: Re: CVS update: subversion/subversion/libsvn_wc update.c
> Branko =?iso-8859-2?Q?=C8ibej?= <branko.cibej@hermes.si> writes:
> > > +/* ben sez: aha! then this belongs in our "config.h" file! */
> > > +
> > > #define SVN_DIR_SEPARATOR '/'
> >
> > Just a small note here: we might want to use a more generic
> > path parsing library later on. (Do we want Subversion to ever
> > run on VMS? No? Why not?)
>
> Yep, definitely. But: "Premature generalization is the root of all
> evil." :-)
>
Received on Sat Oct 21 14:36:06 2006