diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-25 21:27:14 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-25 21:27:14 +0200 |
commit | 0359c2e1cad84b1c5008c622afd47cd10db2f55d (patch) | |
tree | 090678be2875b9e3ccb4f8d9c29d0e6c42fb8312 /ChangeLog | |
parent | e2a6cbca3ba9f2a198c741a1fec6f27c6cb198d8 (diff) | |
download | coreutils-0359c2e1cad84b1c5008c622afd47cd10db2f55d.tar.xz |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2007-09-25 Jim Meyering <jim@meyering.net> + + 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. + 2007-09-24 Jim Meyering <jim@meyering.net> * NEWS: The recent rm-diagnostic fix also affects cross-partition "mv". |