EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: Roman on 26 March 2014, 19:50

Title: clrmamepro 4.014a released
Post by: Roman on 26 March 2014, 19:50
4.014a

fixed: accidently reintroduced 7z case fix issue when using 7z exe's rename operation
Title: Re: clrmamepro 4.014a released
Post by: Starshadow on 27 March 2014, 14:37
Looks good. Thanks!
Title: Re: clrmamepro 4.014a released
Post by: Roman on 27 March 2014, 14:54
yeah...bad little trap there....

There are some cases where 7z.exe can generate two identical files in a 7z file....(e.g. when you got file A in the archive and add the identical file again with filename B...and then use 7z.exe' rename operation to rename B to A (e.g. Cmpro's scanner's fix name does this...) :))

To avoid this, cmpro removes the 'destination' file first....this is working fine....unless you have case fixes :)

For case fixes you got a rename to A, delete A (which removes 'a', since 7z does not care about case sensitive deletes)...et voila...you killed a file...and if it's the only file in the archive, you killed the archive completely....and parts of this caused the cmpro crash...