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)
Dec 30 2023, 12:11 AM
Unknown Object (File)
Nov 6 2023, 8:45 PM
Unknown Object (File)
Sep 15 2023, 7:39 PM
Unknown Object (File)
Aug 1 2023, 1:36 PM
Unknown Object (File)
Jul 31 2023, 6:18 PM
Unknown Object (File)
Jul 31 2023, 6:17 PM
Unknown Object (File)
Jul 31 2023, 5:58 PM
Unknown Object (File)
Jul 22 2023, 5:40 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