summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-buildid-cache.c
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2013-03-29 12:14:43 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-05-28 16:23:51 +0300
commit6956664a5c4c32d5aa48fe96d5e2421a3e3f72d5 (patch)
tree138fddcf932a7efdcbe0aedc5ed950617b1b91cf /tools/perf/builtin-buildid-cache.c
parentc0ffaf3655fab1909a920c8f30ba1722932d01bb (diff)
perf tools: Fix bug in isupper() and islower()
One of the reasons 'perf test' is failing on Power appears to be due to a bug in isupper(). isupper(c) and islower(c) should be checking 'c' against the mask 0x20. Instead they are checking sane_ctype[c] which causes isupper() to be true for lower case letters. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20130329192950.GA9312@us.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-buildid-cache.c')
0 files changed, 0 insertions, 0 deletions