50d583a507
- Don't daemonize freshclam, but use a systemd timer instead to trigger updates + timer.freshclam % service.freshclam % clamav-conf.patch - Remove obsolete patch (replaced by SOURCE_DATE_EPOCH) - clamav-disable-timestamps.patch - Cleanup spec * use pkgconfig() to resolve BuildRequires where upstream uses it * rework creating vscan user (new system-user in Tumbleweed) * remove obsolete configure option --disable-zlib-vcheck OBS-URL: https://build.opensuse.org/request/show/871162 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=218
23 lines
810 B
Diff
23 lines
810 B
Diff
From 58d199cbe00e8a5ef5858ffc7991a346b9f3469e Mon Sep 17 00:00:00 2001
|
|
From: Orion Poplawski <orion@nwra.com>
|
|
Date: Thu, 17 Sep 2020 22:26:04 -0600
|
|
Subject: [PATCH] Fix ck_assert_msg() call
|
|
|
|
---
|
|
unit_tests/check_jsnorm.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/unit_tests/check_jsnorm.c b/unit_tests/check_jsnorm.c
|
|
index 5067a21a55..64f6bf8b37 100644
|
|
--- a/unit_tests/check_jsnorm.c
|
|
+++ b/unit_tests/check_jsnorm.c
|
|
@@ -247,7 +247,7 @@ static void tokenizer_test(const char *in, const char *expected, int split)
|
|
fd = open(filename, O_RDONLY);
|
|
if (fd < 0) {
|
|
jstest_teardown();
|
|
- ck_assert_msg("failed to open output file: %s", filename);
|
|
+ ck_assert_msg(0, "failed to open output file: %s", filename);
|
|
}
|
|
|
|
diff_file_mem(fd, expected, len);
|