Page 1 of 1
bug: weird issue with filenames that end in ~1
Posted: Tue Nov 23, 2010 5:31 pm
by Emerson
DC2 seems to have a problem processing files (for hardlinking at least) if the filename is of an 8 character format ending in ~1 (ie. ######~1.ext).
It seems to be some sort of weird edge case, not sure what's going on. Watching DC2 using ProcMon it appears that there is a NAMECOLLISION return value from certain file operations that isn't usually there for hardlinking operations that succeed.
Posted: Tue Nov 23, 2010 9:14 pm
by Fool4UAnyway
These ~1 filename endings are typical 8.3 "conversions" of long filenames for backward compatibility to allow DOS 8.3 filename access.
Posted: Wed Nov 24, 2010 9:03 am
by DV
Will test this - I'm reviewing the hardlinking process in the current beta due to other issues you raised so I'll see if we can improve things.
Posted: Wed Nov 24, 2010 7:24 pm
by Emerson
Fool4UAnyway, yeah, I realize where these names come from. It just seems that DC2 has issues processing them for some reason or another though. I was just bringing it to DV's attention.
Posted: Wed Dec 01, 2010 3:55 pm
by DV
This bug fixed in upcoming beta 3
Posted: Wed Dec 01, 2010 9:12 pm
by Emerson
Cool

Out of curiosity, what was happening?
Posted: Thu Dec 02, 2010 8:51 pm
by DV
Not completely sure - it was just throwing an exception when renaming the temp file back to the 8.3- seemed to think the file already exists. Must be something going on at a deeper OS level.
Anyway, i've changed the process a bit and that seems to have cleared the problem.