1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (ruby_setreuid, ruby_setregid): rename to get rid of name

clash.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-06-26 07:35:23 +00:00
parent 66169822de
commit 941c978a92
2 changed files with 11 additions and 1 deletions

View file

@ -1,4 +1,7 @@
Tue Jun 26 16:33:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
Tue Jun 26 16:35:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* process.c (ruby_setreuid, ruby_setregid): rename to get rid of name
clash.
* process.c (proc_exec_v, rb_proc_exec): preserve errno.

View file

@ -101,6 +101,13 @@ static VALUE S_Tms;
#define BROKEN_SETREGID 1
#endif
#ifdef BROKEN_SETREUID
#define setreuid ruby_setreuid
#endif
#ifdef BROKEN_SETREGID
#define setregid ruby_setregid
#endif
#if defined(HAVE_44BSD_SETUID) || defined(__MacOS_X__)
#if !defined(USE_SETREUID) && !defined(BROKEN_SETREUID)
#define OBSOLETE_SETREUID 1