Fixed TREEEXCLUDE trailing semi-colon

Jun 20, 2016
4
0
I didn't find anything in the forums for this, so hopefully it's not a known issue.

ver/r
TCC 18.00.32 x64 Windows 7 [Version 6.1.7601]
TCC Build 32 Windows 7 Build 7601 Service Pack 1

It took more time than it should have to figure this out. if TREEEXCLUDE has a semi-colon after the last entry, the scan (cdd /s) returns immediately (without scanning) and jpstree.idx is left a zero byte file. When tcc tries to use jpstree.idx, you get

"TCC: (Sys) The volume for a file has been externally altered so that the opened file is no longer valid."

the workaround is to remove the trailing semicolon and rescan.