Skip to content

[pull] master from the-tcpdump-group:master#151

Merged
pull[bot] merged 2 commits intosysfce2:masterfrom
the-tcpdump-group:master
Dec 9, 2024
Merged

[pull] master from the-tcpdump-group:master#151
pull[bot] merged 2 commits intosysfce2:masterfrom
the-tcpdump-group:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Dec 9, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

That's the simplest way to check whether we can use
check_c_source_runs() to test for a suitable snprintf; it's easier than
trying to find out the target instruction set architecture and comparing
it with the host instruction set architecture, as CMake doesn't provide
any mechanism to provide the target instruction set architecture, on all
platforms, in a form that can be compared with the host instruction set
architecture, and even if the target is different, we may be able to run
code for that instruction set architecture if, for example, it's a
32-bit version of the instruction set architecture on which the build is
being done, or if there's a binary emulator.
Avoid trying to cast negative values to unsigned types, or doing shifts
of signed types, in order not to have the test program fail if we're
building with undefined-behavior sanitizers enabled.

Fix #1396.
@pull pull bot added the ⤵️ pull label Dec 9, 2024
@pull pull bot merged commit e40e5c3 into sysfce2:master Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant