Menu

#1863 strange handling of archive files

v3.x
open
nobody
None
Windows
2023-12-12
2023-04-06
Querino
No

.gz .zip and .bz2 files are not handled the same.

  • a .d64 image inside a .bz2 archive is repacked after altering
  • a .d64 image inside a .gz is NOT repacked after altering if we have defined HAVE_ZLIB
  • a .d64 image inside a .gz is repacked after altering if we have NOT defined HAVE_ZLIB but instead use external gzip.exe. BUT the repacked .d64 image gets the random TEMP name, like 9sd4.1
  • a .d64 image inside a .zip is never repacked

this is a bit confusing after all. sure, .zip uses unzip.exe, which cannot pack.

Discussion

  • Querino

    Querino - 2023-04-07

    ok, now i see, bzip2 packed files do NOT store a file name, it repacks the same TEMP name like gzip, but we do not see this in the packed file.

    after all i now commented out the whole recompress code in the local code here.

    sorry, i wanted to select "windows" not "android" port.

     
  • compyx

    compyx - 2023-12-12
    • Port: Android --> Windows
     

Log in to post a comment.