[pkg-nagios-changes] [Git][nagios-team/nsca-ng][master] Update FIFO patch to fix FTBFS with GCC 14. (closes: #1075320)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Wed Jul 3 15:57:49 BST 2024
Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / nsca-ng
Commits:
87a48e4c by Bas Couwenberg at 2024-07-03T16:57:19+02:00
Update FIFO patch to fix FTBFS with GCC 14. (closes: #1075320)
- - - - -
2 changed files:
- debian/changelog
- debian/patches/0001-tests-test_nsca.c-Don-t-forget-to-close-FIFO.patch
Changes:
=====================================
debian/changelog
=====================================
@@ -7,6 +7,8 @@ nsca-ng (1.6-7) UNRELEASED; urgency=medium
* Remove generated files in clean target.
(closes: #1046818)
* Enable Salsa CI.
+ * Update FIFO patch to fix FTBFS with GCC 14.
+ (closes: #1075320)
-- Bas Couwenberg <sebastic at debian.org> Wed, 18 Jan 2023 17:29:07 +0100
=====================================
debian/patches/0001-tests-test_nsca.c-Don-t-forget-to-close-FIFO.patch
=====================================
@@ -2,6 +2,7 @@ Description: tests/test_nsca.c: Don't forget to close FIFO
Discovered by Coverity Scan.
From: Holger Weiß <holger at weiss.in-berlin.de>
Origin: https://github.com/weiss/nsca-ng/commit/11b42fa5d75f58b1e6c6ac5687e38eff18380903
+ https://github.com/weiss/nsca-ng/commit/3dabe2b7efaf9e629ebb3b03b3fe2cf1618cb255
Forwarded: not-needed
--- a/tests/test_nsca.c
@@ -21,7 +22,7 @@ Forwarded: not-needed
}
- if (ferror(fifo))
+ error = ferror(fifo);
-+ (void)close(fifo);
++ (void)fclose(fifo);
+ if (error)
die("Cannot read %s: %s", COMMAND_FILE,
got_signal ? "Interrupted" : strerror(errno));
View it on GitLab: https://salsa.debian.org/nagios-team/nsca-ng/-/commit/87a48e4ce9a1812a0cf389452526d43cb0c47210
--
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/nagios-team/nsca-ng/-/commit/87a48e4ce9a1812a0cf389452526d43cb0c47210
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20240703/6526b6d6/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list