From 9d0376223484887e6aa5ca1180568f9cb83249e9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 21 Apr 2009 07:15:33 +0000 Subject: [PATCH] Use ret|=1 instead of ++ret, to avoid possible overflow. svn path=/main/trunk/; revision=13383 --- bin/ebuild-helpers/3/dodoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild-helpers/3/dodoc b/bin/ebuild-helpers/3/dodoc index f8aeaf763..4e7c934ab 100644 --- a/bin/ebuild-helpers/3/dodoc +++ b/bin/ebuild-helpers/3/dodoc @@ -42,7 +42,7 @@ for x in "$@" ; do elif [ ! -e "${x}" ] ; then echo "!!! ${0##*/}: $x does not exist" 1>&2 - ((++ret)) + ((ret|=1)) fi done -- 2.26.2