Bug #13628 ยป 0001-rdoc-do-not-store-current-timestamps-in-gz-headers.patch
lib/rdoc/generator/json_index.rb | ||
---|---|---|
debug_msg "Writing gzipped search index to %s" % outfile
|
||
Zlib::GzipWriter.open(outfile) do |gz|
|
||
gz.mtime = File.mtime(search_index_file)
|
||
gz.mtime = 1 # make output reproducible
|
||
gz.orig_name = search_index_file.basename.to_s
|
||
gz.write search_index
|
||
gz.close
|
||
... | ... | |
debug_msg "Writing gzipped file to %s" % outfile
|
||
Zlib::GzipWriter.open(outfile) do |gz|
|
||
gz.mtime = File.mtime(dest)
|
||
gz.mtime = 1 # make output reproducible
|
||
gz.orig_name = dest.basename.to_s
|
||
gz.write data
|
||
gz.close
|