]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix regex for extracting SHM_* values for libsysdecode
authorAlex Richardson <arichardson@FreeBSD.org>
Tue, 23 Oct 2018 06:31:19 +0000 (06:31 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Tue, 23 Oct 2018 06:31:19 +0000 (06:31 +0000)
commitc5c5072bb0d088216ac3f8602929274a543e1057
tree72981d8882f92381fcd877b4a9620e133889f0eb
parent940f62d616c8bdfaa5dc585e387044d1cc99ea3a
Fix regex for extracting SHM_* values for libsysdecode

There was an additional + after the {6} which is apparently ignored by the
FreeBSD regex implementation but was giving me an error when compiling on
MacOS.

While changing this also make sure that tables.h is not created if mktables
fails. The current rule would create a partial tables.h which causes following
incremental builds to use that broken file and fail with an unrelated
compilation error or even succeed even though they shouldn't.

Approved By: jhb (mentor)
Differential Revision: https://reviews.freebsd.org/D17069
lib/libsysdecode/Makefile
lib/libsysdecode/mktables