diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 08:05:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 08:05:32 +0000 |
commit | e07cb859cc882adc05f818466b45e75f1d5a1e39 (patch) | |
tree | bdb9cf7c15bd7db7fdaa0ddf4ee53e03e58f5780 /file.c | |
parent | 0f6d9dfc96c145e69b94d24d51d98480abd72ae1 (diff) |
* suppressed shorten-64-to-32 warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -885,7 +885,7 @@ group_member(GETGROUPS_T gid) { #ifndef _WIN32 if (getgid() == gid || getegid() == gid) - return Qtrue; + return TRUE; # ifdef HAVE_GETGROUPS # ifndef NGROUPS @@ -902,11 +902,11 @@ group_member(GETGROUPS_T gid) anum = getgroups(NGROUPS, gary); while (--anum >= 0) if (gary[anum] == gid) - return Qtrue; + return TRUE; } # endif #endif - return Qfalse; + return FALSE; } #endif @@ -4543,7 +4543,7 @@ static int fpath_check(const char *path) { #if ENABLE_PATH_CHECK - return path_check_0(rb_str_new2(path), Qfalse); + return path_check_0(rb_str_new2(path), FALSE); #else return 1; #endif @@ -4564,7 +4564,7 @@ rb_path_check(const char *path) if (!p) p = pend; for (;;) { - if (!path_check_0(rb_str_new(p0, p - p0), Qtrue)) { + if (!path_check_0(rb_str_new(p0, p - p0), TRUE)) { return 0; /* not safe */ } p0 = p + 1; |