have you EVER encountered a "broken" archive after self-creating it?
nothing changed? so the test function is still pretty useless..
totally confusing.. if its a warning - then please return a warning ?! kWarning = 1, // Non fatal error(s) occurred
...old thread but current problem: I create a .zip from various files I open the .zip in hexeditor and add a whitespace at the end of the file - save Now i test it with the context menu "7-Zip - Test archive" : the message "Warnings: There are some data after the end of the payload data". I would assume that the %errorlevel% (exitcode) should be "1" (warning) - but its 0=ZERO? Tested with 7z.exe and 7za.exe on the commandline.
...old thread but current problem: I create a .zip from various files I open the .zip in hexeditor and add a whitespace at the end of the file - save Now i test it with the context menu "7-Zip - Test archive" : the message "Warnings: There are some data after the end of the payload data". I would assume that the %errorlevel% (exitcode) should be "1" (warning) - but its 0=ZERO? Tested with 7z.exe and 7za.exe