Error compressing files with names beginning with a dot
Opened this issue · 1 comments
jzahora commented
Hello,
I encountered an error where, if the file name begins with a period, it is not compressed when compressing the entire directory. An example is the “.rels” file, which is part of every XLSX file (_rels.rels). The error is probably in the condition “if f.Name[1]<>‘.’ then” (the condition appears twice) in the procedure TZipWrite.AddFolder() in the unit SynZip.pas.
Same conditions are in the unit SynCommons.pas.
Jan.
synopse commented
Can you propose a pull request?