The C standard says that the isxxx() and toxxx() functions are only defined
if their input falls in the domain of unsigned char, or the special case of
-1 ("EOF"). Therefore, all input values to these functions should be cast
(directly or indirectly) to type unsigned char.
This is a good cage cleaner task, and should be repeated periodically.
--
Chip Salzenberg <ch...@pobox.com>
Added two tests to check that this is done explicitly. Namely:
t/codingstd/check_isxxx.t and t/codingstd/check_toxxx.t
Also explicitly cast all instances of these functions as picked up by
the tests in several commits culminating in r20095.
Should the tests be added to the default coding standards tests run
with the main test harness?
Is it ok to close this ticket now?