httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: localization of apache.org content/apache server
Date Sat, 09 Aug 1997 12:28:25 GMT
Ben Laurie wrote:
> 
> Alexei Kosut wrote:
> >
> > On Wed, 6 Aug 1997, Ben Laurie wrote:
> >
> > > > If this is a sound plan, I'll work up a patch.
> > >
> > > Sounds good to me. No doubt we've missed something, though ;-)
> >
> > Yep. It turns out that GetFullPathName() didn't do everything I
> > thought. Although the API docs are a bit vauge, it doesn't expand 8.3
> > aliases to full names. So we can't do that that way.
> 
> Eh? I quote:
> 
> lpFilePart
> 
> Points to a variable that receives the address (in lpBuffer) of the
> final filename component in the path. This filename component is the
> long filename, if any, rather than the 8.3 form of the filename.

Grrr. Although this is what the docs say, GetFullPathName does no such
thing. So, it seems, we do have to use FindFirstFile, after all.
Naturally, this is probably horribly inefficient.

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email:
ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message