Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcdio for openSUSE:Factory checked in at 2022-08-26 09:07:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcdio (Old) and /work/SRC/openSUSE:Factory/.libcdio.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcdio" Fri Aug 26 09:07:59 2022 rev:48 rq:999248 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libcdio/libcdio.changes 2022-08-25 15:33:08.195929669 +0200 +++ /work/SRC/openSUSE:Factory/.libcdio.new.2083/libcdio.changes 2022-08-26 09:08:00.413367141 +0200 @@ -1,0 +2,6 @@ +Thu Aug 25 11:30:10 UTC 2022 - Martin Li??ka <mli...@suse.cz> + +- Rebase fix-undefined-behavior-in-readlink.patch to the upstream + version (only a different formatting is used). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ libcdio.spec: same change ++++++ fix-undefined-behavior-in-readlink.patch ++++++ --- /var/tmp/diff_new_pack.19j4QJ/_old 2022-08-26 09:08:00.945367685 +0200 +++ /var/tmp/diff_new_pack.19j4QJ/_new 2022-08-26 09:08:00.949367688 +0200 @@ -1,29 +1,53 @@ +From 56335fff0f21d294cd0e478d49542a43e9495ed0 Mon Sep 17 00:00:00 2001 +From: "R. Bernstein" <ro...@gnu.org> +Date: Wed, 24 Aug 2022 14:34:33 -0400 +Subject: [PATCH] Correct realpath test failure +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +See https://savannah.gnu.org/bugs/?62948 +Patch courtesy of Martin Li??ka <marxin> +--- + test/driver/realpath.c | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + diff --git a/test/driver/realpath.c b/test/driver/realpath.c -index 289253e4..4e85af96 100644 +index 289253e4..cd46d620 100644 --- a/test/driver/realpath.c +++ b/test/driver/realpath.c -@@ -175,14 +175,16 @@ main(int argc, const char *argv[]) +@@ -1,5 +1,7 @@ + /* -*- C -*- +- Copyright (C) 2010-2012, 2015, 2017 Rocky Bernstein <ro...@gnu.org> ++ ++ Copyright (C) 2010-2012, 2015, 2017, 2022 Rocky Bernstein ++ <ro...@gnu.org> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by +@@ -175,16 +177,17 @@ main(int argc, const char *argv[]) rc = check_rc(symlink(psz_symlink_file, psz_symlink_file), "symlink", psz_symlink_file); if (0 == rc) { - cdio_realpath(psz_symlink_file, psz_file_check); - if (0 != strncmp(psz_file_check, symlink_file, PATH_MAX)) { -- fprintf(stderr, "direct cdio_realpath cycle test failed. %s vs %s\n", -- psz_file_check, symlink_file); -- rc = 5; -- goto err_exit; + char *retvalue = cdio_realpath(psz_symlink_file, psz_file_check); + if (0 != retvalue) { -+ if (0 != strncmp(psz_file_check, symlink_file, PATH_MAX)) { -+ fprintf(stderr, "direct cdio_realpath cycle test failed. %s vs %s\n", -+ psz_file_check, symlink_file); -+ rc = 5; -+ goto err_exit; -+ } -+ check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file); ++ if (0 != strncmp(psz_file_check, symlink_file, PATH_MAX)) { + fprintf(stderr, "direct cdio_realpath cycle test failed. %s vs %s\n", + psz_file_check, symlink_file); + rc = 5; + goto err_exit; ++ } ++ check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file); } - check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file); } - +- } + + check_rc(unlink(psz_orig_file), "unlink", psz_orig_file); +-- +2.37.2 +