Please sign in to comment.
Prevent gzip files from being gratuitously different.
By default, mtime is 0 and in that case, Zlib will set it to Time.now, and each time the same uncompressed file is compressed, the output will be different. So I chose another integer, 1 seemed nice, but any would do, it just needs to be the same every time.
- Loading branch information...
Showing with 2 additions and 0 deletions.