httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@main.slink.com (Garey Smiley)
Subject Re: OS/2 and 1.0.2+
Date Thu, 15 Feb 1996 09:25:06 GMT
On Thu, 15 Feb 96 13:44 GMT you wrote:

>>>Does it have a rename system call?
>>
>>Sure does. It also has a shadow function that is similar to a link, but
>>requires the name be the same as the orginal.
>
>Ok; have a look in mod_proxy.c:cache_tidy(), and you will see that it does
>
>link(c->tempfile, c->filename);
>unlink(c->tempfile);
>
>(with plenty of error checking) as a way of moving the downloaded
>temporary file into the cache.
>
>You should change this to a rename, but be sure to delete the
>temporary file if the rename fails.

Thanks for the help.


Garey Smiley
SoftLink Services
garey@slink.com
http://www.slink.com/
(216)848-1312 FAX/Data(216)699-4474

Mime
View raw message