]> Savannah Git Hosting - gnulib.git/commit
bitset: fix the copy from lbitset to other types
authorAkim Demaille <akim.demaille@gmail.com>
Sun, 15 Nov 2020 11:23:10 +0000 (12:23 +0100)
committerAkim Demaille <akim.demaille@gmail.com>
Sun, 15 Nov 2020 16:58:37 +0000 (17:58 +0100)
commit7b440439681dea63d5f441dbcb82202225a1119c
tree3faf4e324205eb2749f9bc02fdf768aebd5a50bd
parent31e0a7a99d8e3077277e4900521d2a429b1faef9
bitset: fix the copy from lbitset to other types

bitset_copy from an lbitset did not check whether the destination has
the same type.  Apply the same strategy as elsewhere.

Without this commit, the following one fails.

* lib/bitset/list.c (lbitset_copy): Rename as...
(lbitset_copy_): this.
(lbitset_copy): New.
Dispatch to heterogeneous/homogeneous copy.
ChangeLog
lib/bitset/list.c