This commit is contained in:
parent
3f1a2b994a
commit
fefc0365bc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 20 10:53:16 CEST 2007 - schwab@suse.de
|
||||
|
||||
- Fix fchownat test.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 2 11:17:36 CEST 2007 - schwab@suse.de
|
||||
|
||||
|
@ -16,12 +16,12 @@ URL: http://www.gnu.org/software/coreutils/
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/Base
|
||||
Provides: fileutil fileutils sh-utils sh_utils shellutl stat textutil textutils textutl txtutils
|
||||
Obsoletes: fileutil fileutils sh-utils sh_utils stat textutil textutils
|
||||
Obsoletes: fileutils sh-utils stat textutils
|
||||
Obsoletes: libselinux <= 1.23.11-3 libselinux-32bit >= 9 libselinux-64bit = 9 libselinux-x86 = 9
|
||||
Autoreqprov: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 6.9
|
||||
Release: 4
|
||||
Release: 14
|
||||
Summary: GNU Core Utilities
|
||||
Source: coreutils-%{version}.tar.bz2
|
||||
Source1: su.pamd
|
||||
@ -32,6 +32,7 @@ Patch30: coreutils-changelog.diff
|
||||
Patch4: coreutils-5.3.0-i18n-0.1.patch
|
||||
Patch5: i18n-uninit.diff
|
||||
Patch6: i18n-infloop.diff
|
||||
Patch7: fchownat.diff
|
||||
Patch8: coreutils-sysinfo.diff
|
||||
Patch9: ls-x.diff
|
||||
Patch11: i18n-monthsort.diff
|
||||
@ -99,6 +100,7 @@ Authors:
|
||||
%patch5
|
||||
%patch6
|
||||
%patch
|
||||
%patch7
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
chmod +x tests/ls/x-option
|
||||
@ -174,6 +176,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %{_prefix}/share/locale/*/LC_TIME
|
||||
|
||||
%changelog
|
||||
* Sun May 20 2007 - schwab@suse.de
|
||||
- Fix fchownat test.
|
||||
* Mon Apr 02 2007 - schwab@suse.de
|
||||
- Fix ls -x.
|
||||
* Fri Mar 23 2007 - schwab@suse.de
|
||||
|
32
fchownat.diff
Normal file
32
fchownat.diff
Normal file
@ -0,0 +1,32 @@
|
||||
2007-05-20 Jim Meyering <jim@meyering.net>
|
||||
|
||||
Fix buggy test for the fchownat-deref bug.
|
||||
* m4/openat.m4 (gl_FUNC_FCHOWNAT_DEREF_BUG): Create the dangling
|
||||
symlink required for the run-test. Without it, this test would
|
||||
always declare that fchownat doesn't work, and client code would
|
||||
unnecessarily use the replacement function with fixed libc.
|
||||
(gl_FUNC_FCHOWNAT): Eliminate a variable that wasn't initialized.
|
||||
Reported by Greg Schafer.
|
||||
|
||||
--- m4/openat.m4
|
||||
+++ m4/openat.m4
|
||||
@@ -38,6 +38,7 @@
|
||||
rm -f $gl_dangle
|
||||
# Arrange for deletion of the temporary file this test creates.
|
||||
ac_clean_files="$ac_clean_files $gl_dangle"
|
||||
+ ln -s conftest.no-such $gl_dangle
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_SOURCE(
|
||||
[[
|
||||
@@ -74,10 +75,7 @@
|
||||
|
||||
AC_CHECK_FUNC([fchownat], [have_fchownat=yes], [have_fchownat=no])
|
||||
if test $have_fchownat = yes; then
|
||||
- gl_FUNC_FCHOWNAT_DEREF_BUG([have_fchownat_bug=yes])
|
||||
- if test $have_fchownat_bug = no; then
|
||||
- use_replacement_fchownat=no
|
||||
- fi
|
||||
+ gl_FUNC_FCHOWNAT_DEREF_BUG([], [use_replacement_fchownat=no])
|
||||
fi
|
||||
|
||||
if test $use_replacement_fchownat = yes; then
|
Loading…
Reference in New Issue
Block a user