import UBI findutils-4.6.0-20.el8_8.1
This commit is contained in:
parent
2bbfd48494
commit
2a32676cc5
@ -0,0 +1,17 @@
|
|||||||
|
# cherry picked from https://savannah.gnu.org/bugs/?45930
|
||||||
|
diff --git a/find/ftsfind.c b/find/ftsfind.c
|
||||||
|
index 0d96c4ca..6aeac28c 100644
|
||||||
|
--- a/find/ftsfind.c
|
||||||
|
+++ b/find/ftsfind.c
|
||||||
|
@@ -401,6 +401,10 @@ consider_visiting (FTS *p, FTSENT *ent)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+ /* Ignore unlink() error for vanished files. */
|
||||||
|
+ if (ENOENT == ent->fts_errno && options.ignore_readdir_race)
|
||||||
|
+ return;
|
||||||
|
+
|
||||||
|
nonfatal_target_file_error (ent->fts_errno, ent->fts_path);
|
||||||
|
/* Continue despite the error, as file name without stat info
|
||||||
|
* might be better than not even processing the file name. This
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The GNU versions of find utilities (find and xargs)
|
Summary: The GNU versions of find utilities (find and xargs)
|
||||||
Name: findutils
|
Name: findutils
|
||||||
Version: 4.6.0
|
Version: 4.6.0
|
||||||
Release: 20%{?dist}
|
Release: 20%{?dist}.1
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
@ -49,6 +49,9 @@ Patch12: findutils-4.6.0-leaf-opt.patch
|
|||||||
# fix programming mistakes detected by static analysis (#1606953)
|
# fix programming mistakes detected by static analysis (#1606953)
|
||||||
Patch13: findutils-4.6.0-covscan.patch
|
Patch13: findutils-4.6.0-covscan.patch
|
||||||
|
|
||||||
|
# fix find not obeying option -ignore_readdir_race in symlink_loop (#2232514)
|
||||||
|
Patch14: findutils-4.6.0-ignore_readdir_race-symlink_loop.patch
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
Conflicts: filesystem < 3
|
Conflicts: filesystem < 3
|
||||||
@ -150,6 +153,9 @@ fi
|
|||||||
%{_infodir}/find-maint.info.gz
|
%{_infodir}/find-maint.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 17 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1:4.6.0-20.1
|
||||||
|
- fix find not obeying option -ignore_readdir_race in symlink_loop (#2232514)
|
||||||
|
|
||||||
* Mon Nov 05 2018 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-20
|
* Mon Nov 05 2018 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-20
|
||||||
- fix programming mistakes detected by static analysis (#1606953)
|
- fix programming mistakes detected by static analysis (#1606953)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user