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)
Sun, May 18, 2:12 AM
Unknown Object (File)
Mon, May 12, 8:53 PM
Unknown Object (File)
May 2 2025, 8:01 AM
Unknown Object (File)
Apr 25 2025, 10:15 AM
Unknown Object (File)
Apr 24 2025, 8:45 AM
Unknown Object (File)
Apr 22 2025, 7:32 PM
Unknown Object (File)
Apr 22 2025, 12:34 PM
Unknown Object (File)
Apr 22 2025, 6:44 AM
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