develooper Front page | perl.perl5.porters | Postings from June 2008

RE: [perl #55162] Re: File::Spec Cygwin/Win32 case_tolerant improvement

Thread Previous | Thread Next
From:
Jan Dubois
Date:
June 2, 2008 14:27
Subject:
RE: [perl #55162] Re: File::Spec Cygwin/Win32 case_tolerant improvement
Message ID:
02a701c8c4f7$78f46d30$6add4790$@com
On Mon, 02 Jun 2008, Reini Urban wrote:
> Jan Dubois schrieb:
> > I don't like the hard-coded "C:" in your patch.  Assuming you want to
> > specify the drive where Windows itself was installed, you should
> > write something like this:
> 
> No.
> 
> case_tolerant is normally used platform-specific only, and not
> drive-specific. So the 99% usecase is without any argument,
> hence just C: (first drive) and not SYSTEMDRIVE // WINDIR

I don't really understand what you are saying here.  For example it
is definitely possible to have an XP system that doesn't even have
a C: drive at all, so assuming that C: is always available and the
first drive in the machine doesn't always hold.  The only drive that
MUST be there is the SYSTEMDRIVE, because this is where the OS itself
and the local user profiles are installed.

Cheers,
-Jan


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About