develooper Front page | perl.perl5.porters | Postings from October 2005

utf8.c change on perl-5.8.6 to fix t/uni/class.t on EBCDIC

Thread Next
From:
rajarshi das
Date:
October 5, 2005 02:28
Subject:
utf8.c change on perl-5.8.6 to fix t/uni/class.t on EBCDIC
Message ID:
20051005092752.43650.qmail@web33703.mail.mud.yahoo.com
Hi,
I made the following change to utf8.c on EBCDIC:

> *** /u/isldev2/perl-5.8.6/utf8.c Fri Sep 30 02:26:42
2005
 --- utf8.c.modified Tue Oct  4 03:37:46 2005
 ***************
 *** 193,198 ****
 --- 193,201 ----
       if (!UTF8_IS_START(u))
         return 0;
 + #ifdef EBCDIC
 +         u = NATIVE_TO_UTF(u);
 + #endif
       len = UTF8SKIP(s);
 
This change, along with certain modifications to the
test case t/uni/class.t, have fixed all the failures
in t/uni/class.t on perl-5.8.6.

I had made this change about 3 months back on a
perl-5.8.6 source. I mentioned this as Sadahiro found
a similar fix in utf8.c on the latest source. The
change that I made is in a slightly different location
as compared to the changes in utf8.c made by Sadahiro
in his second patch.

Thanks,
Rajarshi.


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Thread Next


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