Browse files

Add HPUX hints file

  commit 9cfd094e6d0a842551c1c58e998eb057cd8425e3
  Author: H.Merijn Brand <>
  Date:   Thu Aug 4 09:20:32 2011 +0200

    Support gcc-4.x on HP-UX PA-RISC/64

    Correct the socketsize. Probably due to big-endian versus
    little-endian, this has always worked on Intel CPUs. This
    is a very very old problem,  and it has been the reason I
    never used gcc-4 on PA-RISC,  because perl would not pass
    the test suite in 64bitall.

    Noticeable effects of wrong "$socksizetype" are return codes
    of 0 (pass) from functions like getpeername (),  but invalid
    (or none) data in the returned structures or a return length
    of 0 or 256. In the latter case, the length is stored in the
    second part of the 64bit long and the 32bit first part is 0.
    This might be true on Intel-like machines too, but the tests
    will pass, as the significant part of the returned length is
    in the first 32bits and a pointer to int will still see that
    correct.  Mind that in that case the 32bits after that might
    have been overridden => can of worms.
  • Loading branch information...
1 parent df87087 commit e947810c9c6d42e0fc3bcf80f6488a6158054594 @bingos committed Aug 11, 2011
Showing with 359 additions and 2 deletions.
  1. +1 −1 dist.ini
  2. +357 −0 lib/Devel/PatchPerl/
  3. +1 −1 t/01-hints.t
@@ -1,5 +1,5 @@
name = Devel-PatchPerl
-version = 0.46
+version = 0.48
author = Chris Williams <>
license = Perl_5
copyright_holder = Chris Williams and Marcus Holland-Moritz
Oops, something went wrong.

0 comments on commit e947810

Please sign in to comment.