diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-22 17:02:45 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-22 17:02:45 +0000 |
| commit | 61b57230243d2c2987b31095a0960ba2c0bd4581 (patch) | |
| tree | bc63899850571183f6b08501e3776a2070969dda | |
| parent | 52a26add2f622ee6e53bdfef3453078fb4469d32 (diff) | |
| download | ruby-61b57230243d2c2987b31095a0960ba2c0bd4581.tar.gz ruby-61b57230243d2c2987b31095a0960ba2c0bd4581.tar.xz ruby-61b57230243d2c2987b31095a0960ba2c0bd4581.zip | |
* file.c (rb_file_chown): [ruby-dev:24949]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | file.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Nov 23 02:00:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org> + + * file.c (rb_file_chown): [ruby-dev:24949] + Tue Nov 23 00:10:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org> * file.c (rb_file_chown): integer conversion should be prior to @@ -1832,9 +1832,9 @@ rb_file_chown(obj, owner, group) int o, g; rb_secure(2); - GetOpenFile(obj, fptr); o = NUM2INT(owner); g = NUM2INT(group); + GetOpenFile(obj, fptr); #if defined(DJGPP) || defined(__CYGWIN32__) || defined(_WIN32) || defined(__EMX__) if (!fptr->path) return Qnil; if (chown(fptr->path, o, g) == -1) |
