summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-04-19 20:05:31 -0600
committerRafael Garcia-Suarez <rgs@consttype.org>2010-04-26 10:20:09 +0200
commit353c9b6f16dec626f888894e7df6f8819303bd11 (patch)
tree1dafddd3bb9a82a2f00f56b4c776e1095c371c20 /embed.fnc
parenteae68503d2ac04e4cb67e7304895150dea94c348 (diff)
downloadperl-353c9b6f16dec626f888894e7df6f8819303bd11.tar.gz
Make sure isCNTRL and isASCII work on signed chars
Prior to this patch, there is a potential bug in these two macros, in which, if they are called with a signed character outside the ASCII range, it will be negative and they always returned true for negative. Casting the parameter to an unsigned should fix that by having it be interpreted as a number above the ASCII range.
Diffstat (limited to 'embed.fnc')
0 files changed, 0 insertions, 0 deletions