!7 remove S_MAGIC_XFS to fix coredump
Merge pull request !7 from hanzj0122/master
This commit is contained in:
commit
a449e24880
11
0001-remove-S_MAGIC_XFS-fix-coredump.patch
Normal file
11
0001-remove-S_MAGIC_XFS-fix-coredump.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Nur findutils-4.7.0.old/gl/lib/fts.c findutils-4.7.0/gl/lib/fts.c
|
||||
--- findutils-4.7.0.old/gl/lib/fts.c 2020-04-10 15:42:01.861626687 +0800
|
||||
+++ findutils-4.7.0/gl/lib/fts.c 2020-04-10 15:42:33.482245911 +0800
|
||||
@@ -800,7 +800,6 @@
|
||||
/* List here the file system types that may lack usable dirent.d_type
|
||||
info, yet for which the optimization does apply. */
|
||||
case S_MAGIC_REISERFS:
|
||||
- case S_MAGIC_XFS: /* XFS lacked it until 2013-08-22 commit. */
|
||||
return NOSTAT_LEAF_OPTIMIZATION;
|
||||
|
||||
case 0:
|
||||
@ -1,7 +1,7 @@
|
||||
Name: findutils
|
||||
Epoch: 2
|
||||
Version: 4.7.0
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: The GNU Find Utilities
|
||||
License: GPLv3+
|
||||
URL: http://www.gnu.org/software/findutils/
|
||||
@ -13,7 +13,7 @@ Patch0: 0001-tests-avoid-FP-when-run-as-root.patch
|
||||
Patch1: 0001-findutils-xautofs.patch
|
||||
# rhbz #1252549 #1299169
|
||||
Patch2: 0001-findutils-leaf-opt.patch
|
||||
|
||||
Patch3: 0001-remove-S_MAGIC_XFS-fix-coredump.patch
|
||||
Buildrequires: gcc autoconf gettext-devel texinfo libselinux-devel dejagnu automake gdb
|
||||
|
||||
Requires(post): info
|
||||
@ -93,6 +93,12 @@ fi
|
||||
%exclude %{_mandir}/man5/locatedb.5*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:4.7.0-5
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:remove S_MAGIC_XFS fix coredump
|
||||
|
||||
* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:4.7.0-4
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user