In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/1c6eef9acffe4b512210edba79119e423ea4874a?hp=8a7eb8fda7b9da91a4e0cb31f102c5b96f3a9c26>

- Log -----------------------------------------------------------------
commit 1c6eef9acffe4b512210edba79119e423ea4874a
Author: Andy Dougherty <[email protected]>
Date:   Mon Sep 10 08:35:16 2012 -0400

    Fix [perl #114812] Configure not finding isblank().
    
    Configure would not find isblank() when run with g++ because
    the probe used exit() without including <stdlib.h>.  The simplest fix
    is to have the probe use return instead.
-----------------------------------------------------------------------

Summary of changes:
 Configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Configure b/Configure
index 7fa1804..a1bc835 100755
--- a/Configure
+++ b/Configure
@@ -15068,9 +15068,9 @@ $cat >isblank.c <<'EOCP'
 int main() {
        int c = ' ';
        if (isblank(c))
-               exit(0);
+               return 0 ;
        else
-               exit(1);
+               return 1 ;
 }
 EOCP
 if $cc $ccflags $ldflags -o isblank isblank.c $libs >/dev/null 2>&1 ; then

--
Perl5 Master Repository

Reply via email to