httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestRun.pm
Date Sun, 11 Jan 2004 19:56:51 GMT
Randy Kobes wrote:
> On Sun, 11 Jan 2004, Stas Bekman wrote:
> 
> 
>>Randy Kobes wrote:
> 
> [ .. ]
> 
>>>Sorry about that - I'll revert that change (I just tried,
>>>but got an error message about insufficient space left on a
>>>device). Actually, looking for both 'apache' and 'Apache'
>>>leads back to the same problem on Win32 that, when the list
>>>of Apache binaries is reported, both 'apache' and 'Apache'
>>>are listed (with the same paths), so a different approach is
>>>needed.
>>
>>So check that the path and lowercased filename match and
>>exclude those on win32?
> 
> 
> Yes, that would work, but it looks a bit funny - for
> example, my Apache is D:\Apache2\bin\Apache.exe, which would
> get reported as d:\apache2\bin\apache.exe. If there isn't
> an easy way to preserve the case yet still remove such
> duplicates, I'll do that - it's not a big deal.

Randy, you are the expert on win32 ;) I have no idea what method to use to get 
a consistent case on case-insenstive file systems. Really I think it's time to 
extend File::Spec to handle that and not solve this problem every time we need 
to read a filename.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message