[Hamlib-developer] [Hamlib/Hamlib] ead67e: Replace magic number with define
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: dforsi <no...@gi...> - 2025-08-20 17:59:51
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: ead67ec17005f5aa2790d429dd72a39c9dead7e1 https://github.com/Hamlib/Hamlib/commit/ead67ec17005f5aa2790d429dd72a39c9dead7e1 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: 2025-08-20 (Wed, 20 Aug 2025) Changed paths: M tests/ampctl.c M tests/ampctld.c M tests/rigctl.c M tests/rigmem.c M tests/rigsmtr.c M tests/rigswr.c M tests/rotctl.c M tests/rotctld.c Log Message: ----------- Replace magic number with define Commit: 5a001ab3aa31b7d2458f54d998f3281f9bf5cb13 https://github.com/Hamlib/Hamlib/commit/5a001ab3aa31b7d2458f54d998f3281f9bf5cb13 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: 2025-08-20 (Wed, 20 Aug 2025) Changed paths: M tests/rigctlcom.c M tests/rigctld.c M tests/rigctlsync.c M tests/rigctltcp.c Log Message: ----------- Explicitely initialize static int verbose Commit: cbefd0835f5284509d5b32b1f50251aa2c3f82f3 https://github.com/Hamlib/Hamlib/commit/cbefd0835f5284509d5b32b1f50251aa2c3f82f3 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: 2025-08-20 (Wed, 20 Aug 2025) Changed paths: M tests/ampctl.c M tests/ampctld.c M tests/rigctl.c M tests/rigctlcom.c M tests/rigctld.c M tests/rigctlsync.c M tests/rigctltcp.c M tests/rigmem.c M tests/rigsmtr.c M tests/rigswr.c M tests/rotctl.c M tests/rotctld.c Log Message: ----------- Do not show any debug trace messages unless requested with -vvvvv This fixes the following commands that always printed debug messages at the trace level: tests/ampctld -l >/dev/null tests/ampctl -h >/dev/null tests/rigctld -l >/dev/null tests/rigctltcp -l >/dev/null tests/rotctld -l >/dev/null It doesn't affect other software which worked around this issue, but changes all software to avoid regressions in future. Test case (should print nothing in bash): { tests/ampctl -l -h tests/ampctld -l -h tests/rigctl -l -h tests/rigctlcom -l -h tests/rigctld -l -h tests/rigctlsync -l -h tests/rigctltcp -l -h tests/rotctl -l -h tests/rotctld -l -h } >/dev/null Compare: https://github.com/Hamlib/Hamlib/compare/d6165f74115a...cbefd0835f52 To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |