mg: fix parsing of tag files with duplicate entries
authortb <tb@openbsd.org>
Tue, 28 Mar 2023 21:33:21 +0000 (21:33 +0000)
committertb <tb@openbsd.org>
Tue, 28 Mar 2023 21:33:21 +0000 (21:33 +0000)
commit35caa2dba38f0d52c0a7c74a57b509cd0ddf0fa9
treecb72900358334b86560dc7675bc40197a7e9ec45
parent1f391030ed3730708ac9c23a4891b76540f21b7a
mg: fix parsing of tag files with duplicate entries

Instead of erroring out ignore duplicates. Fixes using /var/db/libc.tags
again.

ok op
usr.bin/mg/tags.c