New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS X and setruid, etc. #10191
Comments
From @cpansprouthints/darwin.sh pretends that setruid and similar functions do not Use of uninitialized value $category in concatenation (.) or string Flags: Site configuration information for perl 5.11.5: Configured by sprout at Sat Feb 20 23:31:20 PST 2010. Summary of my perl5 (revision 5 version 11 subversion 5 patch Locally applied patches: @INC for perl 5.11.5: Environment for perl 5.11.5: |
From @cpansproutInline Patch--- blead/hints/darwin.sh 2009-11-19 08:51:38.000000000 -0800
+++ blead-darwin-hints/hints/darwin.sh 2010-02-15 21:00:55.000000000 -0800
@@ -13,11 +13,16 @@ perl_version=`awk '/define[ ]+PERL_VERS
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'
+# Pretend that Darwin doesn't know about those system calls in Tiger
+# (10.4/darwin 8) and earlier [perl #24122]
+case "$osvers" in
+[1-8].*)
+ d_setregid='undef'
+ d_setreuid='undef'
+ d_setrgid='undef'
+ d_setruid='undef'
+ ;;
+esac
# This was previously used in all but causes three cases
# (no -Ddprefix=, -Dprefix=/usr, -Dprefix=/some/thing/else) |
@cpansprout - Status changed from 'new' to 'resolved' |
From @cpansproutOn Sun Feb 21 13:18:10 2010, sprout wrote:
Applied as 04ec184. |
From [Unknown Contact. See original ticket]On Sun Feb 21 13:18:10 2010, sprout wrote:
Applied as 04ec184. |
Migrated from rt.perl.org#72990 (status was 'resolved')
Searchable as RT72990$
The text was updated successfully, but these errors were encountered: