Change 34992 by [EMAIL PROTECTED] on 2008/12/03 13:14:22

        Integrate:
        [ 34943]
        Subject: [perl #32979] [PATCH] perlrun #!/bin/sh incantation n.g. 4 
linux
        From: "Steve Peters via RT" <[EMAIL PROTECTED]>
        Date: 21 Dec 2004 17:36:12 -0000
        Message-ID: <[EMAIL PROTECTED]>
        
        Applying a four year old patch from myself.  w00t!
        
        [ 34945]
        Subject: [PATCH] Small eval documentation tweak
        From: Bo Lindbergh <[EMAIL PROTECTED]>
        Date: Wed, 26 Nov 2008 10:54:53 +0100
        Message-Id: <[EMAIL PROTECTED]>
        
        [ 34961]
        Subject: Re: 5.8.9 RC1 / 5.10.x / bleed patches for README.aix
        From: Rainer Tammer <[EMAIL PROTECTED]>
        Date: Sat, 29 Nov 2008 14:23:26 +0100
        Message-ID: <[EMAIL PROTECTED]>
        
        [ 34975]
        Add diagnostics for "No such hook: %s".
        
        [ 34976]
        setsid() returns -1 on failure.

Affected files ...

... //depot/maint-5.10/perl/README.aix#3 integrate
... //depot/maint-5.10/perl/pod/perldiag.pod#6 integrate
... //depot/maint-5.10/perl/pod/perlfunc.pod#13 integrate
... //depot/maint-5.10/perl/pod/perlipc.pod#3 integrate
... //depot/maint-5.10/perl/pod/perlrun.pod#6 integrate

Differences ...

==== //depot/maint-5.10/perl/README.aix#3 (text) ====
Index: perl/README.aix
--- perl/README.aix#2~34893~    2008-11-19 10:20:41.000000000 -0800
+++ perl/README.aix     2008-12-03 05:14:22.000000000 -0800
@@ -27,6 +27,11 @@
 "vac" ANSI/C compiler will work for building perl if that compiler
 works on your system.
 
+If you plan to link perl to any module that requires thread-support,
+like DBD::Oracle, it is better to use the _r version of the compiler.
+This will not build a threaded perl, but a thread-enabled perl. See
+also L<Threaded perl> later on.
+
 As of writing (2008-11) only the IBM XL C for AIX or XL C/C++ for AIX
 compiler is supported by IBM on AIX 5L/6.1.
 
@@ -101,7 +106,7 @@
 With the default setting the size is limited to 128MB.
 The -1 removes this limit.
 
-=head2 Recommended Options AIX 5.2/5.3 and 6.1 (threaded/32-bit)
+=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1 (threaded/32-bit)
 
 With the following options you get a threaded Perl version which
 passes all make tests in threaded 32-bit mode, which is the default
@@ -133,7 +138,7 @@
 The -Dprefix option will install Perl in a directory parallel to the
 IBM AIX system Perl installation.
 
-=head2 Recommended Options AIX 5.2/5.3 and 6.1 (threaded/64-bit)
+=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1 (threaded/64-bit)
 
 With the following options you get a threaded Perl version which
 passes all make tests in 64-bit mode.
@@ -421,6 +426,6 @@
 
 =head1 DATE
 
-Version 0.0.7: 18 Nov 2008
+Version 0.0.8: 01 Dec 2008
 
 =cut

==== //depot/maint-5.10/perl/pod/perldiag.pod#6 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod#5~34850~      2008-11-16 11:41:58.000000000 -0800
+++ perl/pod/perldiag.pod       2008-12-03 05:14:22.000000000 -0800
@@ -2699,6 +2699,11 @@
 (F) You provided a class qualifier in a "my", "our" or "state" declaration, but
 this class doesn't exist at this point in your program.
 
+=item No such hook: %s
+
+(F) You specified a signal hook that was not recognized by Perl.  Currently, 
Perl
+accepts C<__DIE__> and C<__WARN__> as valid signal hooks
+
 =item No such pipe open
 
 (P) An error peculiar to VMS.  The internal routine my_pclose() tried to

==== //depot/maint-5.10/perl/pod/perlfunc.pod#13 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod#12~34850~     2008-11-16 11:41:58.000000000 -0800
+++ perl/pod/perlfunc.pod       2008-12-03 05:14:22.000000000 -0800
@@ -1544,7 +1544,8 @@
 determined.
 
 If there is a syntax error or runtime error, or a C<die> statement is
-executed, an undefined value is returned by C<eval>, and C<$@> is set to the
+executed, C<eval> returns an undefined value in scalar context
+or an empty list in list context, and C<$@> is set to the
 error message.  If there was no error, C<$@> is guaranteed to be a null
 string.  Beware that using C<eval> neither silences perl from printing
 warnings to STDERR, nor does it stuff the text of warning messages into C<$@>.

==== //depot/maint-5.10/perl/pod/perlipc.pod#3 (text) ====
Index: perl/pod/perlipc.pod
--- perl/pod/perlipc.pod#2~34017~       2008-06-07 09:53:10.000000000 -0700
+++ perl/pod/perlipc.pod        2008-12-03 05:14:22.000000000 -0800
@@ -536,7 +536,7 @@
                                or die "Can't write to /dev/null: $!";
        defined(my $pid = fork) or die "Can't fork: $!";
        exit if $pid;
-       setsid                  or die "Can't start a new session: $!";
+       die "Can't start a new session: $!" if setsid == -1;
        open STDERR, '>&STDOUT' or die "Can't dup stdout: $!";
     }
 

==== //depot/maint-5.10/perl/pod/perlrun.pod#6 (text) ====
Index: perl/pod/perlrun.pod
--- perl/pod/perlrun.pod#5~34720~       2008-11-04 03:01:52.000000000 -0800
+++ perl/pod/perlrun.pod        2008-12-03 05:14:22.000000000 -0800
@@ -78,9 +78,10 @@
 The sequences "-*" and "- " are specifically ignored so that you could,
 if you were so inclined, say
 
-    #!/bin/sh -- # -*- perl -*- -p
-    eval 'exec perl -wS $0 ${1+"$@"}'
-        if $running_under_some_shell;
+    #!/bin/sh
+    #! -*-perl-*-
+    eval 'exec perl -x -wS $0 ${1+"$@"}'
+        if 0;
 
 to let Perl see the B<-p> switch.
 
End of Patch.

Reply via email to