kvr000 commented on PR #471:
URL: https://github.com/apache/commons-compress/pull/471#issuecomment-1913698763

   > Hello @kvr000 Is this documented anywhere? PREAMBLE_GARBAGE_MAX_SIZE?
   
   I haven't found "official" support for skipping the garbage in the 
specification.  `zip` program and `ZipFile` from apache compress naturally do 
it because they go backward from the end of central directory, though `zip` 
eventually prints a warning about garbage at the beginning.
   
   I used `4096` as it should be enough for typical case when the program 
execution is added at the beginning: `#!/usr/bin/env -S whatever with the 
arguments such as java -Xmx32M -jar`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to