Commit 7047ce45 authored by Pekka Pessi's avatar Pekka Pessi

Fixed problem of BSD awk returning -0 from 10 % 5.

darcs-hash:20060228153855-65a35-bda8dcdb283315c33c9b00b1290057437185821d.gz
parent fe3f09d6
......@@ -410,7 +410,9 @@ END {
if (h < 0)
continue;
for (j = h % MC_HASH_SIZE; j in header_hash;) {
j = h % MC_HASH_SIZE; if (j == -0) j = 0;
for (; j in header_hash;) {
if (++j == MC_HASH_SIZE) {
j = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment