manpage for fallocate(2) is wrong
This commit is contained in:
Ivana Hutarova Varekova 2011-04-22 15:28:31 +02:00
parent 006d98105d
commit 80562a8b32
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,25 @@
diff -up man-pages-3.32/man2/fallocate.2.pom man-pages-3.32/man2/fallocate.2
--- man-pages-3.32/man2/fallocate.2.pom 2010-12-03 08:01:59.000000000 +0100
+++ man-pages-3.32/man2/fallocate.2 2011-04-22 15:01:39.000000000 +0200
@@ -114,15 +114,15 @@ referred to by
.IR fd .
.TP
.B ENOSYS
-The file system containing the file referred to by
-.I fd
-does not support this operation.
+System call is not supported.
.TP
.B EOPNOTSUPP
The
.I mode
-is not supported by the file system containing the file referred to by
-.IR fd .
+is not supported by kernel or by the file system containing the file
+referred to by
+.I fd
+or the file system does not support fallocate at all.
.SH VERSIONS
.BR fallocate ()
is available on Linux since kernel 2.6.23.
diff -up man-pages-3.32/man5/host.conf.5.pom man-pages-3.32/man5/host.conf.5

View File

@ -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.32 Version: 3.32
Release: 11%{?dist} Release: 12%{?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/
@ -44,6 +44,8 @@ Patch78: man-pages-2.39-gai.conf.patch
Patch79: man-pages-3.32-spellch.patch Patch79: man-pages-3.32-spellch.patch
#resolves: #681781 #resolves: #681781
Patch80: man-pages-3.32-snprintf.patch Patch80: man-pages-3.32-snprintf.patch
#resolves: #680214
Patch81: man-pages-3.32-fallocate.patch
#Resolves: #655961 #Resolves: #655961
Conflicts: quota < 3.17-14 Conflicts: quota < 3.17-14
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -84,6 +86,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release}
%patch78 -p1 %patch78 -p1
%patch79 -p1 %patch79 -p1
%patch80 -p1 %patch80 -p1
%patch81 -p1
### And now remove those we are not going to use: ### And now remove those we are not going to use:
@ -139,6 +142,10 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man*/* %lang(en) %{_mandir}/en/man*/*
%changelog %changelog
* Fri Apr 22 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.32-12
- resolves: #680214
manpage for fallocate(2) is wrong
* Fri Mar 25 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.32-11 * Fri Mar 25 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 3.32-11
- resolves: #681781 - resolves: #681781
snprintf man page is wrong snprintf man page is wrong