httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Parzygnat" <kp...@raleigh.ibm.com>
Subject RE: [PATCH] Win32 device files
Date Thu, 03 Dec 1998 21:56:01 GMT
> I think it
> would be better to find where the "." is being added, since that
> sounds like a bogus thing to do in any case.  The only one I can
> think of is where "./" is prefixed for relative URI processing,
> but that should be removed before any file operation.
> 

I dug up the following in http_request.c  I don't know that I agree
with the comment, but somebody must have seen something at one
time.  Does anyone remember?

#ifdef WIN32
    /* If the path is x:/, then convert it to x:/., coz that's what stat
     * needs to work properly
     */
    if (strlen(path) == 3 && path[1] == ':') {
	strcpy(buf,path);
	buf[3]='.';
	buf[4]='\0';
	path=buf;
	end=buf+4;
    }

- - - - - - - - - - - - - - - - - -
Ken Parzygnat
email: kparz@raleigh.ibm.com 

Mime
View raw message