[man-pages] - Resolves: #650257 fix open.2 O_EXCL description
Ivana Varekova
varekova at fedoraproject.org
Thu Nov 11 11:42:42 UTC 2010
commit 6b2a8265c8158a7091c6416d3ec075f95b996ce3
Author: Ivana Hutarova Varekova <varekova at redhat.com>
Date: Thu Nov 11 12:42:33 2010 +0100
- Resolves: #650257
fix open.2 O_EXCL description
man-pages-3.30-open.patch | 28 ++++++++++++++++++++++++++++
man-pages.spec | 9 ++++++++-
2 files changed, 36 insertions(+), 1 deletions(-)
---
diff --git a/man-pages-3.30-open.patch b/man-pages-3.30-open.patch
new file mode 100644
index 0000000..5555978
--- /dev/null
+++ b/man-pages-3.30-open.patch
@@ -0,0 +1,28 @@
+diff -up man-pages-3.30/man2/open.2.pom man-pages-3.30/man2/open.2
+--- man-pages-3.30/man2/open.2.pom 2010-11-01 15:55:38.000000000 +0100
++++ man-pages-3.30/man2/open.2 2010-11-11 12:26:16.000000000 +0100
+@@ -319,11 +319,21 @@ and
+ already exists, then
+ .BR open ()
+ will fail.
+-The behavior of
++On Linux (on kernel 2.6 or later)
+ .B O_EXCL
+-is undefined if
++can be used in
++.BR open ()
++without
+ .B O_CREAT
+-is not specified.
++if the
++.I pathname
++is a block device.
++If the block device is in use by the system (mounted etc)
++.BR open ()
++will fail with
++.B EBUSY.
++Otherwise the behavior is undefined.
++
+
+ When these two flags are specified, symbolic links are not followed:
+ .\" POSIX.1-2001 explicitly requires this behavior.
diff --git a/man-pages.spec b/man-pages.spec
index b8b4c3a..6d7e0b9 100644
--- a/man-pages.spec
+++ b/man-pages.spec
@@ -4,7 +4,7 @@
Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages
Version: 3.30
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/
@@ -32,6 +32,8 @@ Patch70: man-pages-3.29-uri.patch
Patch71: man-pages-posix-2003-awk.patch
Patch72: man-pages-posix-2003-man.patch
Patch73: man-pages-posix-2003-printf.patch
+#Resolves: #650257
+Patch74: man-pages-3.30-open.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Autoreq: false
@@ -65,6 +67,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
%patch71 -p1
%patch72 -p1
%patch73 -p1
+%patch74 -p1
### And now remove those we are not going to use:
@@ -120,6 +123,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*/*
%changelog
+* Thu Nov 11 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 3.30-2
+- Resolves: #650257
+ fix open.2 O_EXCL description
+
* Fri Nov 5 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 3.30-1
- update to 3.30
More information about the scm-commits
mailing list