From: Slaven Rezic Date: Tue, 7 Oct 2003 00:04:34 +0000 (+0200) Subject: Re: [perl #24122] setreuid and friends borked on darwin/osx X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0cad7ed8738f312f479a2c3ee36c6cc1b76d037e;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #24122] setreuid and friends borked on darwin/osx Message-ID: <87ekxq6n0t.fsf@vran.herceg.de> p4raw-id: //depot/perl@21438 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index 6d2c112..f3e7ff9 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -13,6 +13,12 @@ perl_version=`awk '/define[ ]+PERL_VERSION/ {print $3}' $src/patchlevel.h` perl_subversion=`awk '/define[ ]+PERL_SUBVERSION/ {print $3}' $src/patchlevel.h` version="${perl_revision}.${perl_version}.${perl_subversion}" +# Pretend that Darwin doesn't know about those system calls [perl #24122] +d_setregid='undef' +d_setreuid='undef' +d_setrgid='undef' +d_setruid='undef' + # This was previously used in all but causes three cases # (no -Ddprefix=, -Dprefix=/usr, -Dprefix=/some/thing/else) # but that caused too much grief.