diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2019-10-25 19:15:24 -0400 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-31 22:23:58 +0900 |
commit | 0aaa15f6362e307c9ef636e9625027b96e577dfb (patch) | |
tree | 79aaa8a72d1077b3621210810bc3a60ffe769bbb /sample/mine.rb | |
parent | d6ed7a984c8fd991ce2614d2f228239f8eb490b5 (diff) |
[ruby/zlib] Fix setting mtime to zero in GzipWriter
Before this change, it was not possible to write out zero for the
timestamp part of a Gzip file's header, as calling GzipWriter#mtime with
zero was ignored.
Judging from the docs for `GzipWriter#mtime=`, it should be possible to
indicate that no timestamp is available by calling the method with zero.
https://github.com/ruby/zlib/commit/310be39cac
Diffstat (limited to 'sample/mine.rb')
0 files changed, 0 insertions, 0 deletions