freebsd-dev/usr.bin/unifdef
Conrad Meyer 61287be181 Re-apply fixed r354847
unifdef(1): Improve worst-case bound on symbol resolution

Use RB_TREE to make some algorithms O(lg N) and O(N lg N) instead of O(N)
and O(N^2).

While here, remove arbitrarily limit on number of macros understood.

Reverts r354877 and r354878, which disabled the (correct) test.

PR:		242095
Reported by:	lwhsu
2019-11-20 19:43:34 +00:00
..
tests Link in NetBSD's unifdef(1) tests 2019-11-18 04:03:11 +00:00
Makefile Link in NetBSD's unifdef(1) tests 2019-11-18 04:03:11 +00:00
Makefile.depend
unifdef.1
unifdef.c Re-apply fixed r354847 2019-11-20 19:43:34 +00:00
unifdefall.sh