Skip to content

Commit

Permalink
On NetBSD don't use setruid() and setrgid().
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Nov 3, 2004
1 parent e9fb2e2 commit 028d19e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions process.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ static VALUE S_Tms;
#define HAVE_44BSD_SETGID 1
#endif

#ifdef __NetBSD__
#undef HAVE_SETRUID
#undef HAVE_SETRGID
#endif

#if defined(__MacOS_X__) || defined(__bsdi__)
#define BROKEN_SETREUID 1
#define BROKEN_SETREGID 1
Expand Down

0 comments on commit 028d19e

Please sign in to comment.