Fix test failure with glibc 2.36: https://savannah.gnu.org/bugs/?62948 Patch taken from upstream: https://git.savannah.gnu.org/cgit/libcdio.git/commit/?id=56335fff0f21d294cd0e478d49542a43e9495ed0 diff --git a/test/driver/realpath.c b/test/driver/realpath.c index 289253e..cd46d62 100644 --- a/test/driver/realpath.c +++ b/test/driver/realpath.c @@ -1,5 +1,7 @@ /* -*- C -*- - Copyright (C) 2010-2012, 2015, 2017 Rocky Bernstein + + Copyright (C) 2010-2012, 2015, 2017, 2022 Rocky Bernstein + 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)) { + 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); } - check_rc(unlink(psz_symlink_file), "unlink", psz_symlink_file); } - } check_rc(unlink(psz_orig_file), "unlink", psz_orig_file); extutils.scm'>
AgeCommit message (Expand)Author
2023-09-30gnu: utfcpp: Update to 3.2.5....* gnu/packages/textutils.scm (utfcpp): Update to 3.2.5. Signed-off-by: Christopher Baines <mail@cbaines.net> Hilton Chain
2023-09-25gnu: dos2unix: Update to 7.5.1....* gnu/packages/textutils.scm (dos2unix): Update to 7.5.1. Signed-off-by: Christopher Baines <mail@cbaines.net> Timotej Lazar
2023-09-01gnu: utfcpp: Update to 3.2.4....* gnu/packages/textutils.scm (utfcpp): Update to 3.2.4. [snippet]: Unbundle ftest. [arguments]: Remove field. [native-inputs]: Add ftest. * gnu/packages/games.scm (warzone2100)[#:phases]: Adjust 'fix-utfcpp-include. * gnu/packages/video.scm (mkvtoolnix)[#:phases]: Add 'fix-utfcpp-include. Co-authored-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Reza Housseini
2023-08-13gnu: ack: Update to 3.7.0....* gnu/packages/textutils.scm (ack): Update to 3.7.0. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Greg Hogan
2023-07-09gnu: antiword: Use Web Archive URLs....* gnu/packages/textutils.scm (antiword)[source, home-page]: Use copies archived by the Wayback Machine. Tobias Geerinckx-Rice
2023-06-21gnu: go-github-com-mattn-go-runewidth: Update to 0.0.14....* gnu/packages/golang.scm (go-github-com-mattn-go-runewidth): Update to 0.0.14. (go-github.com-mattn-go-runewidth): Remove, and change users to to refer to 'go-github-com-mattn-go-runewidth'. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Nguyễn Gia Phong
2023-06-20gnu: utf8proc-2.7.0: Explicitly use ruby-2.7....So that ruby can change without affecting this package and it's julia related dependents. * gnu/packages/textutils.scm (utf8proc-2.7.0)[native-inputs]: Explicitly use ruby-2.7. Christopher Baines
2023-06-08gnu: Add pandoc-include....* gnu/packages/textutils.scm (pandoc-include): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Wiktor Żelazny
2023-06-08gnu: Add python-panflute....* gnu/packages/textutils.scm (python-panflute): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Wiktor Żelazny
2023-05-21gnu: dos2unix: Update to 7.5.0....* gnu/packages/textutils.scm (dos2unix): Update to 7.5.0. Timotej Lazar