ruby-changes:35327
From: akr <ko1@a...>
Date: Fri, 5 Sep 2014 20:36:34 +0900 (JST)
Subject: [ruby-changes:35327] akr:r47409 (trunk): * process.c (has_privilege): Fix a return value.
akr 2014-09-05 20:36:19 +0900 (Fri, 05 Sep 2014) New Revision: 47409 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47409 Log: * process.c (has_privilege): Fix a return value. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 47408) +++ ChangeLog (revision 47409) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Sep 5 20:35:52 2014 Tanaka Akira <akr@f...> + + * process.c (has_privilege): Fix a return value. + Fri Sep 5 19:00:40 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> * lib/shellwords.rb: proofreading documentation. Index: process.c =================================================================== --- process.c (revision 47408) +++ process.c (revision 47409) @@ -3367,7 +3367,7 @@ has_privilege(void) https://github.com/ruby/ruby/blob/trunk/process.c#L3367 if (ret == -1) rb_sys_fail("getresgid(2)"); if (egid != sgid) - return 0; + return 1; } #else { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/