From: n0nb <n0...@us...> - 2025-09-02 20:45:18
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via f15537f2e690bcf4a705a8976e4327738a18afde (commit) via e4c43821d0b1e53c1b8eebc0b5e9cd2091c9a1f0 (commit) via 632746cf91c50cdbefce5ba8fbe7e502feef9568 (commit) from 3582d8dee09e16c4afd43b6bb696cbfe34ee00a6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f15537f2e690bcf4a705a8976e4327738a18afde Merge: 3582d8dee e4c43821d Author: Nate Bargmann <n0...@n0...> Date: Tue Sep 2 15:38:54 2025 -0500 Merge GitHub PR #1875 commit e4c43821d0b1e53c1b8eebc0b5e9cd2091c9a1f0 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Tue Sep 2 21:45:44 2025 +0200 Always print error messages to stderr Do not depend on the debug level set with --verbose diff --git a/tests/ampctl_parse.c b/tests/ampctl_parse.c index 9e443b812..c4a68408d 100644 --- a/tests/ampctl_parse.c +++ b/tests/ampctl_parse.c @@ -1584,7 +1584,7 @@ void list_models() if (status != RIG_OK) { - rig_debug(RIG_DEBUG_ERR, "amp_list_foreach: error = %s \n", rigerror(status)); + fprintf(stderr, "amp_list_foreach: error = %s \n", rigerror2(status)); exit(2); } diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index f5a9c1fc8..4eaa56bc0 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -2154,7 +2154,7 @@ void list_models() if (status != RIG_OK) { - rig_debug(RIG_DEBUG_ERR, "rig_list_foreach: error = %s \n", rigerror(status)); + fprintf(stderr, "rig_list_foreach: error = %s \n", rigerror2(status)); exit(2); } diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c index e7fed60e5..9e4de9637 100644 --- a/tests/rotctl_parse.c +++ b/tests/rotctl_parse.c @@ -1667,7 +1667,7 @@ void list_models() if (status != RIG_OK) { - rig_debug(RIG_DEBUG_ERR, "rot_list_foreach: error = %s \n", rigerror(status)); + fprintf(stderr, "rot_list_foreach: error = %s \n", rigerror2(status)); exit(2); } commit 632746cf91c50cdbefce5ba8fbe7e502feef9568 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun Aug 17 17:13:59 2025 +0200 Use rig_debug() instead of sending error messages to stdout diff --git a/tests/ampctl_parse.c b/tests/ampctl_parse.c index e47b6c1ff..9e443b812 100644 --- a/tests/ampctl_parse.c +++ b/tests/ampctl_parse.c @@ -1584,7 +1584,7 @@ void list_models() if (status != RIG_OK) { - printf("amp_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "amp_list_foreach: error = %s \n", rigerror(status)); exit(2); } diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index ad42193ec..f5a9c1fc8 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -2154,7 +2154,7 @@ void list_models() if (status != RIG_OK) { - printf("rig_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "rig_list_foreach: error = %s \n", rigerror(status)); exit(2); } diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c index bfc3488b7..e7fed60e5 100644 --- a/tests/rotctl_parse.c +++ b/tests/rotctl_parse.c @@ -1667,7 +1667,7 @@ void list_models() if (status != RIG_OK) { - printf("rot_list_foreach: error = %s \n", rigerror(status)); + rig_debug(RIG_DEBUG_ERR, "rot_list_foreach: error = %s \n", rigerror(status)); exit(2); } ----------------------------------------------------------------------- Summary of changes: tests/ampctl_parse.c | 2 +- tests/rigctl_parse.c | 2 +- tests/rotctl_parse.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |