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

A little bit of code maintenance #382

Closed
wants to merge 3 commits into from

Conversation

auerswal
Copy link
Collaborator

@auerswal auerswal commented Mar 8, 2025

  • move "new features" above "bug fixes and other changes" in CHANGELOG.md
  • fix an error message
  • test that --icmp-timestamp requires privileges
  • fix using dbg_printf() macro in fping.c

auerswal added 3 commits March 8, 2025 19:30
Also, add tests with -I.  In the currently use GitHub CI
system, only GNU/Linux supports this option.  But, network
device names other than "lo" change too often on GNU/Linux
to know in advance what an interface might be called.  This
limits what can be reliably tested.
config.h must be include before fping.h, because
configure --enable-debug writes the DEBUG #define
to config.h, and the dbg_printf macro definition
requires a defined DEBUG to actually produce any
output.

Unbreaking dbg_printf() exposed an instance of
wrong use, so fix that.  Also, add a newline to
the debug output reporting used CPU time.
@auerswal
Copy link
Collaborator Author

auerswal commented Mar 8, 2025

I'll close, fix the macOS test failure, and create a new pull request.

@auerswal auerswal closed this Mar 8, 2025
@auerswal auerswal deleted the maint001 branch March 8, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant