]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Use XOR, not OR to combine bits.
authorJim Meyering <jim@meyering.net>
Tue, 25 Sep 2007 19:27:14 +0000 (21:27 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 25 Sep 2007 19:27:14 +0000 (21:27 +0200)
commit0359c2e1cad84b1c5008c622afd47cd10db2f55d
tree090678be2875b9e3ccb4f8d9c29d0e6c42fb8312
parente2a6cbca3ba9f2a198c741a1fec6f27c6cb198d8
Use XOR, not OR to combine bits.

* gl/lib/hash-triple.c (triple_hash): Use XOR (^), not OR (|), to
combine the bits from hashing the name and those of the inode number.
Add a few comments and remove out-of-context ones.
ChangeLog
gl/lib/hash-triple.c