Fix handy.t for systems without $Config{d_isblank}.
authorCraig A. Berry <craigberry@mac.com>
Mon, 3 Feb 2014 04:09:58 +0000 (22:09 -0600)
committerCraig A. Berry <craigberry@mac.com>
Mon, 3 Feb 2014 04:21:11 +0000 (22:21 -0600)
commitd61570b1bbf3e2d76cc293690156fb361b054272
treeb6f85c9eae632933c69c04a7a5875c2c9e3253d3
parent3e21b5cbfb4a2e92edbfb25d114cde801f9e315f
Fix handy.t for systems without $Config{d_isblank}.

isblank() is a C99 function that may or may not be present,
meaning checking for what's blank under a non-POSIX/C locale may
not match Unicode code points that are considered blank, such as
non-breaking space.

Make the tests for these conditions TODO as it's possible Perl
could implement its own isblank() for these conditions, at least
for UTF-8 locales.

N.B.  If there are implementations that provde isblank() but have
it match only space and tab regardless of locale, this change
probably won't help.

t/re/charset.t probably needs similar treatment.
ext/XS-APItest/t/handy.t