parent
ccd62f9a20
commit
6b2a8265c8
28
man-pages-3.30-open.patch
Normal file
28
man-pages-3.30-open.patch
Normal file
@ -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.
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Man (manual) pages from the Linux Documentation Project
|
Summary: Man (manual) pages from the Linux Documentation Project
|
||||||
Name: man-pages
|
Name: man-pages
|
||||||
Version: 3.30
|
Version: 3.30
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
|
License: GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
URL: http://www.kernel.org/pub/linux/docs/manpages/
|
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
|
Patch71: man-pages-posix-2003-awk.patch
|
||||||
Patch72: man-pages-posix-2003-man.patch
|
Patch72: man-pages-posix-2003-man.patch
|
||||||
Patch73: man-pages-posix-2003-printf.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)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Autoreq: false
|
Autoreq: false
|
||||||
@ -65,6 +67,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
|
|||||||
%patch71 -p1
|
%patch71 -p1
|
||||||
%patch72 -p1
|
%patch72 -p1
|
||||||
%patch73 -p1
|
%patch73 -p1
|
||||||
|
%patch74 -p1
|
||||||
|
|
||||||
### And now remove those we are not going to use:
|
### And now remove those we are not going to use:
|
||||||
|
|
||||||
@ -120,6 +123,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%lang(en) %{_mandir}/en/man*/*
|
%lang(en) %{_mandir}/en/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 11 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.30-2
|
||||||
|
- Resolves: #650257
|
||||||
|
fix open.2 O_EXCL description
|
||||||
|
|
||||||
* Fri Nov 5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.30-1
|
* Fri Nov 5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 3.30-1
|
||||||
- update to 3.30
|
- update to 3.30
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user