]> granicus.if.org Git - graphviz/commit
fix incorrect clearing of bits in bitarray
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 11 Feb 2022 10:40:22 +0000 (21:40 +1100)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 14 Feb 2022 21:41:13 +0000 (08:41 +1100)
commit7b945c57b1d8148c7c736271c8c5f8b8c796fce9
treecbfc7911711aae0b1f3d7c311d4eb0347139a4c0
parente539f9ba0903c9f593167219f3aa2c0d51cd23df
fix incorrect clearing of bits in bitarray

The wrong bitwise operations were used here, resulting in e.g. a set of bit 2 of
of `0b011000` updating to `0b011100` instead of being a no-op.

This bug was present since the first introduction of this interface in
3ced90bd756bb8e56920620f2686e0ba6b482bbb, but this has not yet made it into a
release.
lib/cgraph/bitarray.h
rtest/test_regression.py