mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a690ad4698
commit
c9977b82a8
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jun 4 23:10:08 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.
|
||||
|
||||
Wed Jun 4 18:53:39 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* object.c (rb_obj_alloc): RDoc updated. a patch from Gaston
|
||||
|
|
|
@ -2402,7 +2402,7 @@ rb_gzfile_set_mtime(VALUE obj, VALUE mtime)
|
|||
rb_raise(cGzError, "header is already written");
|
||||
}
|
||||
|
||||
if (FIXNUM_P(time)) {
|
||||
if (FIXNUM_P(mtime)) {
|
||||
gz->mtime = FIX2INT(mtime);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue