Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metabuild and valgrind improvements #526

Merged
merged 2 commits into from
Dec 20, 2024
Merged

metabuild and valgrind improvements #526

merged 2 commits into from
Dec 20, 2024

Conversation

gperciva
Copy link
Member

No description provided.

Previously, we combined strings with:
    d="$a $b $c"
If $b was "", that would leave two spaces, which we trimmed with
    tr -s ' '

However, that was an inelegant solution, and more importantly, was not
compatible with code such as:
    -D_TWO_SPACES="\"2  spaces\""
when defined in Makefile.BSD.
Ideally, there would always be 0 errors.   However, due to porting
issues, some platforms report a non-zero number of errors even for
trivial programs.
# Check the error summary.
# Check the error summary. Get the number of expected errors from the
# ${valgrind_fds_log} file. (Ideally this would be 0, but due to
# porting issues, some versions of valgrind on some platforms always
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the moment, FreeBSD is one of those systems with "valgrind porting issues".

@gperciva
Copy link
Member Author

Commit 2d2a2d5 does not result in any change of the generated Makefiles.

@cperciva cperciva merged commit f090dce into master Dec 20, 2024
2 checks passed
@gperciva gperciva deleted the misc branch December 21, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants