Re: [perl #24122] setreuid and friends borked on darwin/osx
Slaven Rezic [Tue, 7 Oct 2003 00:04:34 +0000 (02:04 +0200)]
Message-ID: <87ekxq6n0t.fsf@vran.herceg.de>

p4raw-id: //depot/perl@21438

hints/darwin.sh

index 6d2c112..f3e7ff9 100644 (file)
@@ -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.