summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-25 03:59:24 +0200
committerDan McGee <dan@archlinux.org>2012-04-25 03:59:24 +0200
commit20ff0cd40fd228f56251634a7429439244c24eac (patch)
tree81fada55c28ec86b3515dd7ae9d65a3afa809f76 /HACKING
parent1583a2079c8e84c9cd960a596dae2e36c9077bbb (diff)
downloadpacman-20ff0cd40fd228f56251634a7429439244c24eac.tar.gz
pacman-20ff0cd40fd228f56251634a7429439244c24eac.tar.xz
util/testdb: don't return crazy error values
With some contrived examples, you could easily make testdb return a very high error count, which could easily overflow the 8-bit unsigned integer limit. Instead, simply return 1 or 0 based on whether errors were found. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions