Project

General

Profile

Bug #13628 ยป 0001-rdoc-do-not-store-current-timestamps-in-gz-headers.patch

possible patch - bmwiedemann (Bernhard M. Wiedemann), 06/03/2017 04:11 AM

View differences:

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
    (1-1/1)