Page MenuHomeFreeBSD

Fix regex for extracting SHM_* values for libsysdecode
ClosedPublic

Authored by arichardson on Sep 7 2018, 8:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 17, 1:36 AM
Unknown Object (File)
Dec 21 2025, 10:03 PM
Unknown Object (File)
Dec 14 2025, 12:59 AM
Unknown Object (File)
Dec 9 2025, 12:53 AM
Unknown Object (File)
Nov 20 2025, 8:06 PM
Unknown Object (File)
Nov 20 2025, 8:04 PM
Unknown Object (File)
Nov 20 2025, 8:03 PM
Unknown Object (File)
Nov 20 2025, 7:54 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable