]> git.ipfire.org Git - thirdparty/squid.git/commit
Hi,
authorrobertc <>
Sun, 3 Aug 2003 16:05:12 +0000 (16:05 +0000)
committerrobertc <>
Sun, 3 Aug 2003 16:05:12 +0000 (16:05 +0000)
commit77dff9d057fa08a6430cfe875abd1429be87e974
treea29689ea73f9af37df16054b73972eab8eab6c58
parent5447bba9bf46ec2c941acd36c0a4db9dd1ccf787
Hi,

On Windows (native and Cygwin) and OS/2, when running
UFSSwapDir::closeTmpSwapLog() in store_dir_ufs.cc, Squid can be fail if the
target file for a rename operation was already deleted.

Because xrename() already try to remove the destination target on Windows,
a previous unlink() is not needed.

This patch extended the native Windows xrename() behaviour to Cygwin and
OS/2 too and remove not needed unlink().

Regards

Guido
src/fs/ufs/store_dir_ufs.cc
src/tools.cc