Manifest of check-in
[cfac6a1e07]
- Fix [3006571fff]: [file delete -force] of a directory failed with "file already exists" when another process (e.g. a virus scanner or an indexer) kept a file in it open: the file was only marked for deletion, so the directory stayed non-empty for a moment. Retry removing the directory for up to about 1 s. Also use "/" in the whole path of the error message.
by
serhiy.storchaka on
2026-10-23 10:05:41.
B 991e44b9c6aba3e21af3c454b23c66583128b313371bca58234ddbd637b1dd04
C Fix\s[3006571fff]:\s[file\sdelete\s-force]\sof\sa\sdirectory\sfailed\swith\s"file\salready\sexists"\swhen\sanother\sprocess\s(e.g.\sa\svirus\sscanner\sor\san\sindexer)\skept\sa\sfile\sin\sit\sopen:\sthe\sfile\swas\sonly\smarked\sfor\sdeletion,\sso\sthe\sdirectory\sstayed\snon-empty\sfor\sa\smoment.\sRetry\sremoving\sthe\sdirectory\sfor\sup\sto\sabout\s1\ss.\sAlso\suse\s"/"\sin\sthe\swhole\spath\sof\sthe\serror\smessage.
D 2026-10-23T10:05:41.284
F win/tclWinFCmd.c 9d352f0f6c2efa3b3a31ed945273213793c005651c958726108558d4a638c86f
P 991e44b9c6aba3e21af3c454b23c66583128b313371bca58234ddbd637b1dd04
R 70e971bc7ffea39b88eebc76480721c5
T *branch * win-delete-retry-not-empty
T *sym-win-delete-retry-not-empty *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 152671b09d2f2c7b865fcd1108e8d44b