HomeFreeBSD

unifdef: Fix collision check when adding symbols.

Description

unifdef: Fix collision check when adding symbols.

findsym() is intended for use while parsing input, so it should not be
called from addsym2() or indirectsym(), which are called before any
input is processed.

MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D48733

Details

Provenance
desAuthored on Thu, Jan 30, 9:10 PM
Reviewer
kevans
Differential Revision
D48733: unifdef: Fix collision check when adding symbols.
Parents
rGace4637ee0c6: vmimage.subr: Redirect etcupdate log to stdout
Branches
Unknown
Tags
Unknown