On Sat, Feb 02, 2002 at 01:02:22AM +0100, Michael Tiedtke wrote: > This solves the bug, but could someone please explain me why it > doesn't work in the original code?
Sure. The parentheses are wrong. The equality test has higher precedence than the assignment, so it assigns the comparison result to res. The assignment needs to be parenthesized so that it happens before the equality test, which is what I committed. Many thanks for finding this. Matt
msg15302/pgp00000.pgp
Description: PGP signature