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 18, 10:48 AM
Unknown Object (File)
Sat, Jan 18, 9:20 AM
Unknown Object (File)
Sat, Jan 18, 5:40 AM
Unknown Object (File)
Sat, Jan 11, 9:22 AM
Unknown Object (File)
Nov 16 2024, 3:31 PM
Unknown Object (File)
Nov 7 2024, 12:42 PM
Unknown Object (File)
Nov 6 2024, 12:46 PM
Unknown Object (File)
Nov 4 2024, 11:57 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