Fix fold exit status for nonexistent files
This commit is contained in:
parent
245be9f408
commit
e2907bebf3
2 changed files with 5 additions and 2 deletions
|
|
@ -1752,7 +1752,7 @@ index 5c0428d..2372047 100644
|
|||
+ if (istream == NULL)
|
||||
+ {
|
||||
+ error (0, errno, "%s", filename);
|
||||
+ return 1;
|
||||
+ return false;
|
||||
+ }
|
||||
+
|
||||
+ /* Define how ISTREAM is being folded. */
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||
Name: coreutils
|
||||
Version: 9.4
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
# some used parts of gnulib are under various variants of LGPL
|
||||
License: GPL-3.0-or-later AND GFDL-1.3-no-invariants-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later
|
||||
Url: https://www.gnu.org/software/coreutils/
|
||||
|
|
@ -262,6 +262,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* Sat Jul 13 2024 Sohum Mendon <sohum.mendon@proton.me> - 9.4-7
|
||||
- fix incorrect exit status when fold is called with a non-existent file
|
||||
|
||||
* Mon Jan 29 2024 Lukáš Zaoral <lzaoral@redhat.com> - 9.4-6
|
||||
- fix tail on kernels with 64k page sizes (RHEL-22866)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue