[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-cvs
Subject: cvs commit: squid/src disk.c tools.c
From: serassio () squid-cache ! org
Date: 2005-03-26 23:27:10
Message-ID: 20050326232710.40438.qmail () squid-cache ! org
[Download RAW message or body]
serassio 2005/03/26 16:27:10 MST
Modified files: (Branch: SQUID_2_5)
src disk.c tools.c
Log:
rename() related cleanup
On Windows (both native and Cygwin ports) and OS/2 is not possible rename a file
over an existent one, so before the rename operation an unlink() is always needed.
Sometime, after a squid crash, storeDirCloseTmpSwapLog() function family fails
because there is no target file to delete causing a fatal().
This patch move the unlink() into xrename() like the native Windows port and
remove all no more needed unlink().
Revision Changes Path
1.157.2.6 +1 -1 squid/src/disk.c
1.213.2.14 +3 -0 squid/src/tools.c
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic