POSIX defines the = operator, but not ==. Fix the few places where we incorrectly used ==.
mentioned in commit 402fa33c
mentioned in commit b0750147
mentioned in commit f1e182ac
mentioned in commit 57d1664a
mentioned in commit e2c17de5
mentioned in commit 3a6219d3