# New Ticket Created by  Nick Glencross 
# Please include the string:  [perl #36083]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36083 >


This trivial patch fixes a cosmetic problem while running Configure on
HP-UX. Basically the $align variable goes out of scope and is then used,
resulting in something like

Determining your minimum pointer alignment......Use of uninitialized
value in concatenation (.) or string at config/auto/alignptrs.pl line 59.
Use of uninitialized value in numeric eq (==) at
config/auto/alignptrs.pl line 60.
.........for hpux:   bytes.

Regards,

Nick


Index: config/auto/alignptrs.pl
===================================================================
--- config/auto/alignptrs.pl    (revision 8246)
+++ config/auto/alignptrs.pl    (working copy)
@@ -36,7 +36,7 @@
     }
     elsif ($^O eq 'hpux' && $Config{ccflags} !~ /DD64/) {
         # HP-UX 10.20/32 hangs in this test.
-        my $align = 4;
+        $align = 4;
         Configure::Data->set(ptr_alignment => $align);
         $result = "for hpux: ";
     }

Reply via email to