1 |
Author: zmedico |
2 |
Date: 2009-04-30 07:23:16 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13535 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/bin/ebuild-helpers/3/dodoc |
7 |
Log: |
8 |
Use ret|=1 instead of ++ret, to avoid possible overflow. (trunk r13383) |
9 |
|
10 |
Modified: main/branches/2.1.6/bin/ebuild-helpers/3/dodoc |
11 |
=================================================================== |
12 |
--- main/branches/2.1.6/bin/ebuild-helpers/3/dodoc 2009-04-30 07:22:59 UTC (rev 13534) |
13 |
+++ main/branches/2.1.6/bin/ebuild-helpers/3/dodoc 2009-04-30 07:23:16 UTC (rev 13535) |
14 |
@@ -42,7 +42,7 @@ |
15 |
|
16 |
elif [ ! -e "${x}" ] ; then |
17 |
echo "!!! ${0##*/}: $x does not exist" 1>&2 |
18 |
- ((++ret)) |
19 |
+ ((ret|=1)) |
20 |
fi |
21 |
|
22 |
done |