summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2019-10-25 19:15:24 -0400
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-10-31 22:23:58 +0900
commit0aaa15f6362e307c9ef636e9625027b96e577dfb (patch)
tree79aaa8a72d1077b3621210810bc3a60ffe769bbb /st.c
parentd6ed7a984c8fd991ce2614d2f228239f8eb490b5 (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 'st.c')
0 files changed, 0 insertions, 0 deletions