[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]An obvious solution to '/' vs '\\'
From: |
Rhys Weatherley |
Subject: |
Re: [DotGNU]An obvious solution to '/' vs '\\' |
Date: |
Mon, 25 Nov 2002 07:54:34 +1000 |
Gopal V wrote:
>
> Hi All,
> I've been thinking hard about what Rhys said about directory
> seperators issue in pnet ... Why not let a compile time macro handle
> the entire issue ?...
Directory separators aren't the issue. Windows can handle '/'
as a separator just fine - has been doing so since the MS-DOS
days. The only reason why Windows-o-philes use '\' is because
of a poor choice of option switch character in early MS-DOS
command-line tools: '/' instead of '-'.
The problem is two fold: absolute path resolution (i.e handling
drive names and network shares), and locating system directories.
We currently look in "/usr/local/lib/cscc/lib" as a hardwired
path for certain things. These types of lookups need to be found
and replaced with something else.
I know what I need to do - it's just finding some time to do it.
But there is no quick fix to this problem. It's on my TODO list.
Cheers,
Rhys.