diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-30 09:32:56 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-30 09:32:56 +0000 |
commit | 1dd17757b547dbc056faa42e13fd3e1fd711a608 (patch) | |
tree | a5be8dbddace6615325aa7034305eea807ff6086 /file.c | |
parent | 1234770ca21f8bd9586b6c932fdb2cd2b0b2271b (diff) |
gw32 b19 patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -929,7 +929,7 @@ file_chmod(obj, vmode) mode = NUM2INT(vmode); GetOpenFile(obj, fptr); -#if defined(DJGPP) || defined(__CYGWIN32__) || defined(NT) +#if defined(DJGPP) || defined(NT) if (chmod(fptr->path, mode) == -1) rb_sys_fail(fptr->path); #else @@ -1162,7 +1162,7 @@ file_s_umask(argc, argv) int omask = 0; if (argc == 0) { - int omask = umask(0); + omask = umask(0); umask(omask); } else if (argc == 1) { |