Skip to content

A little bit of code maintenance (2nd attempt)#383

Merged
auerswal merged 3 commits intoschweikert:developfrom
auerswal:maint002
Apr 6, 2025
Merged

A little bit of code maintenance (2nd attempt)#383
auerswal merged 3 commits intoschweikert:developfrom
auerswal:maint002

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 20:23
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.
@coveralls
Copy link

Coverage Status

coverage: 87.776% (-0.06%) from 87.833%
when pulling 30dbc49 on auerswal:maint002
into a237394 on schweikert:develop.

@auerswal
Copy link
Collaborator Author

auerswal commented Apr 6, 2025

Thanks for the review, @gsnw-sebast! I'll merge this soon.

@auerswal auerswal merged commit 50cba08 into schweikert:develop Apr 6, 2025
7 of 9 checks passed
@auerswal auerswal deleted the maint002 branch April 6, 2025 15:24
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.

3 participants

Comments