This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate changes #7355[-doio.c],7691,7744,7753[perlio],
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 27 Jan 2001 18:06:51 +0000 (18:06 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 27 Jan 2001 18:06:51 +0000 (18:06 +0000)
commitda27fb417db5b3eeab2548975f7a819e8ddcf547
treeb5517ae9d15b280e8cef92363d7ca8b271e7f019
parent0fe40b3833e881d1b2fe05c7b661896ce2e2e5b4
Integrate changes #7355[-doio.c],7691,7744,7753[perlio],
7783,7790[perlio],7869,7871,7872,7911,7916,7932,
7935[-perlio.c],7936,7959,7965 from mainline.

Change the "big byte" error message to "Wide character".
(7355, the croak-if-wide-chars-in-print part ignored)

Use UINT64_C().

Introduce Perl_utf8_length().

diff -se shows these as different (7753, forgotten check-ins)

Subject: [PATCH] doop.c - UTF8 tr///

If we use (aTHX_ ...) then put Perl_ on the front.

Make utf8_length() and utf8_distance() to be less forgiving
about bad UTF-8.

Test line numbers are different with utf8.

No need to scan till infinity, 13 is enough. (7872,7911)

Subject: [PATCH] Tokeniser debugging

Subject: Re: question about retlen in utf8.c:Perl_utf8_to_uv()

Subject: [PATCH perl@7930] toke.c perlio.c -Wformat nits (only toke.c)

Be more careful in Perl_sv_utf8_downgrade().

Use DO_UTF8().

Raw zero bytes in text files confuse at least GNU patch 2.1.

p4raw-link: @7355 on //depot/perl: 4b3603a49f6eac34b6cdb154bf3bd8a8f5240085

p4raw-id: //depot/maint-5.6/perl@8568
p4raw-integrated: from //depot/perlio@7790 'ignore' scope.h (@7789..)
p4raw-integrated: from //depot/perlio@7753 'edit in' pod/perlapi.pod
(@7492..) 'merge in' global.sym (@7486..)
p4raw-integrated: from //depot/perl@8553 'copy in' pod/perlrun.pod
(@7652..)
p4raw-integrated: from //depot/perl@7965 'merge in' t/pragma/utf8.t
(@7485..)
p4raw-integrated: from //depot/perl@7959 'merge in' op.c (@7914..)
p4raw-integrated: from //depot/perl@7936 'edit in' sv.c (@7927..)
p4raw-integrated: from //depot/perl@7935 'edit in' toke.c (@7916..)
p4raw-integrated: from //depot/perl@7932 'edit in' pod/perlapi.pod
(@7756..) utf8.c (@7911..)
p4raw-integrated: from //depot/perl@7916 'merge in' perl.c (@7758..)
perl.h (@7855..)
p4raw-integrated: from //depot/perl@7872 'merge in' handy.h (@7793..)
p4raw-integrated: from //depot/perl@7871 'merge in' t/op/re_tests
(@7815..)
p4raw-integrated: from //depot/perl@7869 'edit in' embed.pl proto.h
(@7858..) 'ignore' embed.h objXSUB.h (@7858..)
p4raw-integrated: from //depot/perl@7783 'merge in' doop.c (@7677..)
p4raw-integrated: from //depot/perl@7744 'merge in' perlapi.c (@7547..)
p4raw-integrated: from //depot/perl@7691 'copy in' utf8.h (@7677..)
p4raw-integrated: from //depot/perl@7355 'merge in' pod/perldiag.pod
(@7213..)
20 files changed:
doop.c
embed.h
embed.pl
global.sym
handy.h
objXSUB.h
op.c
perl.c
perl.h
perlapi.c
pod/perlapi.pod
pod/perldiag.pod
pod/perlrun.pod
proto.h
sv.c
t/op/re_tests
t/pragma/utf8.t
toke.c
utf8.c
utf8.h