perl-unicode

Re: gmake (perl-5.8.6) fails on z/OS

2005-07-28 02:40:41
On Thu, Jul 28, 2005 at 02:37:36AM -0700, rajarshi das wrote:

However, if I change the first instance to :
--- utf8.c      2004-11-17 18:22:09.000000000 +0530
+++ utf8.c.2    2005-07-28 13:48:24.000000000 +0530
@@ -363,6 +363,11 @@ Perl_utf8n_to_uvuni(pTHX_ U8 *s,
STRLEN
        warning = UTF8_WARN_EMPTY;
        goto malformed;
     }
+#ifdef EBCDIC
+    if (uv == 0xBA) {
+       uv = NATIVE_TO_UTF(uv);
+    }
+#endif

     if (UTF8_IS_INVARIANT(uv)) {
        if (retlen)

This allows gmake to complete. 
Thanks for all your help on this.

Do you have any idea *why* this change makes things work?

Nicholas Clark