This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h: Change the error return of two macros
authorKarl Williamson <public@khwilliamson.com>
Sat, 18 May 2013 20:05:00 +0000 (14:05 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 20 May 2013 17:01:53 +0000 (11:01 -0600)
commitb2bf251fd850e281217ec1d042c1839e3ed4a09c
tree80f066a5e9860cf78bcb86af932169d1a60ab6e0
parentcfe934daf72e37a0980ac3183d678e49a26726b3
handy.h: Change the error return of two macros

These two undocumented macros returned the REPLACEMENT CHARACTER if the
input was outside the Latin1 range.  This was contrary to all other
similar macros, which return their input if it is invalid.  It caused
warnings in some (dumber than average) compilers.

These macros are undocumented; this changes the behavior only of illegal
inputs to them.
handy.h