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
Approved by: re (cperciva)

(cherry picked from commit c63af363c2458aebc30c01cd0b93b4b902580019)
(cherry picked from commit 931b0990297e2c6307b41bda95c5225cdf48403c)

Details

Provenance
desAuthored on Thu, Jan 30, 9:10 PM
Reviewer
kevans
Differential Revision
D48733: unifdef: Fix collision check when adding symbols.
Parents
rGdfe803fdbc54: Defer the January 19, 2038 date limit in UFS1 filesystems to February 7, 2106
Branches
Unknown
Tags
Unknown