mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Further tweaks related to deleting files from malloc_common.tcl.
FossilOrigin-Name: 3e649f80e2a1b2e098f6ca32994ba40157271e69
This commit is contained in:
@ -613,7 +613,7 @@ proc forcedelete {filename} {
|
||||
set nDelay 100 ;# Delay in ms before retrying.
|
||||
for {set i 0} {$i<$nRetry} {incr i} {
|
||||
set rc [catch {file delete -force $filename} msg]
|
||||
if {$rc==0} continue
|
||||
if {$rc==0} break
|
||||
after $nDelay
|
||||
}
|
||||
if {$rc} { error $msg }
|
||||
|
Reference in New Issue
Block a user