mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
Fix GCC 14 compilation (-Wincompatible-pointer-types) Fix Perl warnings (removed unneeded use statements) Fix Perl 5.40 invocation of finished_cb (Tim Buchheim) Fix QA warning about using NULL variable Fix ndmp requires rpcgen Signed-off-by: Doug Nazar <nazard@nazar.ca> Closes: https://bugs.gentoo.org/933742 Closes: https://bugs.gentoo.org/939202 Closes: https://bugs.gentoo.org/933756 Closes: https://github.com/gentoo/gentoo/pull/39104 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
12 lines
680 B
Diff
12 lines
680 B
Diff
diff '--color=auto' -ur amanda-tag-community-3.5.4.orig/common-src/tapelist.c amanda-tag-community-3.5.4/common-src/tapelist.c
|
|
--- amanda-tag-community-3.5.4.orig/common-src/tapelist.c 2023-07-26 06:27:30.000000000 -0400
|
|
+++ amanda-tag-community-3.5.4/common-src/tapelist.c 2024-10-24 23:53:34.782171543 -0400
|
|
@@ -106,7 +106,7 @@
|
|
|
|
/* see if we have this tape already, and if so just add to its file list */
|
|
for(cur_tape = tapelist; cur_tape; cur_tape = cur_tape->next) {
|
|
- if ((!storage || cur_tape->storage ||
|
|
+ if ((!storage || !cur_tape->storage ||
|
|
g_str_equal(storage, cur_tape->storage)) &&
|
|
g_str_equal(label, cur_tape->label)) {
|
|
int d_idx = 0;
|