Skip to content

Commit 77f5c73

Browse files
committed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 4f061c8 commit 77f5c73

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Thu Aug 16 04:14:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
2+
3+
* process.c (ruby_setreuid, ruby_setregid): rename to get rid of name
4+
clash.
15
Thu Aug 16 04:11:17 2007 Ryan Davis <ryand@zenspider.com>
26

37
* lib/rexml/dtd/dtd.rb: Fixed typo in code. Fixes bug #10420

process.c

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,13 @@ static VALUE S_Tms;
101101
#define BROKEN_SETREGID 1
102102
#endif
103103

104+
#ifdef BROKEN_SETREUID
105+
#define setreuid ruby_setreuid
106+
#endif
107+
#ifdef BROKEN_SETREGID
108+
#define setregid ruby_setregid
109+
#endif
110+
104111
#if defined(HAVE_44BSD_SETUID) || defined(__MacOS_X__)
105112
#if !defined(USE_SETREUID) && !defined(BROKEN_SETREUID)
106113
#define OBSOLETE_SETREUID 1
@@ -3667,8 +3674,8 @@ Init_process()
36673674
rb_define_module_function(rb_mProcGID, "change_privilege", p_gid_change_privilege, 1);
36683675
rb_define_module_function(rb_mProcUID, "grant_privilege", p_uid_grant_privilege, 1);
36693676
rb_define_module_function(rb_mProcGID, "grant_privilege", p_gid_grant_privilege, 1);
3670-
rb_define_alias(rb_mProcUID, "eid=", "grant_privilege");
3671-
rb_define_alias(rb_mProcGID, "eid=", "grant_privilege");
3677+
rb_define_alias(rb_singleton_class(rb_mProcUID), "eid=", "grant_privilege");
3678+
rb_define_alias(rb_singleton_class(rb_mProcGID), "eid=", "grant_privilege");
36723679
rb_define_module_function(rb_mProcUID, "re_exchange", p_uid_exchange, 0);
36733680
rb_define_module_function(rb_mProcGID, "re_exchange", p_gid_exchange, 0);
36743681
rb_define_module_function(rb_mProcUID, "re_exchangeable?", p_uid_exchangeable, 0);

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2007-08-16"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20070816
5-
#define RUBY_PATCHLEVEL 56
5+
#define RUBY_PATCHLEVEL 57
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)