disable the temporary O_SYNC fix (glibc is fixed - #872366)

This commit is contained in:
Ondřej Vašík 2012-11-05 09:04:38 +01:00
parent ca6f66d311
commit 7e4f1a381e
2 changed files with 4 additions and 15 deletions

View File

@ -136,17 +136,3 @@ diff -urNp coreutils-8.13-orig/tests/touch/no-dereference.sh coreutils-8.13/test
# Changing time of dangling symlink is okay.
# Skip the test if this fails, but the error text corresponds to
diff -urNp coreutils-8.20-orig/lib/fcntl.in.h coreutils-8.20/lib/fcntl.in.h
--- coreutils-8.20-orig/lib/fcntl.in.h
+++ coreutils-8.20/lib/fcntl.in.h
@@ -71,6 +71,10 @@
# define O_SYNC 0
#endif
+#ifndef __O_SYNC
+# define __O_SYNC 04000000
+#endif
+
#ifndef O_TTY_INIT
# define O_TTY_INIT 0
#endif

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 8.20
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@ -375,6 +375,9 @@ fi
%{_sbindir}/chroot
%changelog
* Mon Nov 05 2012 Ondrej Vasik <ovasik@redhat.com> 8.20-2
- disable the temporary O_SYNC fix (glibc is fixed - #872366)
* Sat Oct 27 2012 Ondrej Vasik <ovasik@redhat.com> 8.20-1
- new upstream release 8.20
- Temporarily require util-linux >= 2.22.1-3 (to prevent missing