develooper Front page | perl.perl5.porters | Postings from August 2018

Re: Threaded bleads broken on HP-UX 11.31 by commit 7258295b51ee7

Thread Previous
From:
H.Merijn Brand
Date:
August 4, 2018 13:47
Subject:
Re: Threaded bleads broken on HP-UX 11.31 by commit 7258295b51ee7
Message ID:
20180804154655.2ca8b5c6@pc09.procura.nl
On Thu, 2 Aug 2018 16:16:36 +0200, "H.Merijn Brand"
<h.m.brand@xs4all.nl> wrote:

> x2: ia64 (ia64/4 cpu)
>     on        HP-UX - B.11.31/64

I got worse. While digging ...

ld: Unsatisfied symbol "strnlen" in file mathoms.o


shouldn't that be my_strnlen?

--8<---
--- mathoms.c  2018-08-04 15:46:00 +0000
+++ mathoms.c      2018-08-04 15:45:27 +0000
@@ -1662,7 +1662,7 @@ Perl_is_utf8_char(const U8 *s)

     /* Assumes we have enough space, which is why this is deprecated.  But the
      * strnlen() makes it safe for the common case of NUL-terminated strings */
-    return isUTF8_CHAR(s, s + strnlen((char *) s, UTF8SKIP(s)));
+    return isUTF8_CHAR(s, s + my_strnlen((char *) s, UTF8SKIP(s)));
 }

 /*
-->8---

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.29   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About