From 80562a8b324d49d33d57e62e002f00ebd9663620 Mon Sep 17 00:00:00 2001 From: Ivana Hutarova Varekova Date: Fri, 22 Apr 2011 15:28:31 +0200 Subject: [PATCH] - resolves: #680214 manpage for fallocate(2) is wrong --- man-pages-3.32-fallocate.patch | 25 +++++++++++++++++++++++++ man-pages.spec | 9 ++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 man-pages-3.32-fallocate.patch diff --git a/man-pages-3.32-fallocate.patch b/man-pages-3.32-fallocate.patch new file mode 100644 index 0000000..ce7b3dd --- /dev/null +++ b/man-pages-3.32-fallocate.patch @@ -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 diff --git a/man-pages.spec b/man-pages.spec index f468db2..5e17cba 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.32 -Release: 11%{?dist} +Release: 12%{?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/ @@ -44,6 +44,8 @@ Patch78: man-pages-2.39-gai.conf.patch Patch79: man-pages-3.32-spellch.patch #resolves: #681781 Patch80: man-pages-3.32-snprintf.patch +#resolves: #680214 +Patch81: man-pages-3.32-fallocate.patch #Resolves: #655961 Conflicts: quota < 3.17-14 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -84,6 +86,7 @@ rmdir man-pages-posix-%{posix_version}-%{posix_release} %patch78 -p1 %patch79 -p1 %patch80 -p1 +%patch81 -p1 ### And now remove those we are not going to use: @@ -139,6 +142,10 @@ rm -rf $RPM_BUILD_ROOT %lang(en) %{_mandir}/en/man*/* %changelog +* Fri Apr 22 2011 Ivana Hutarova Varekova - 3.32-12 +- resolves: #680214 + manpage for fallocate(2) is wrong + * Fri Mar 25 2011 Ivana Hutarova Varekova - 3.32-11 - resolves: #681781 snprintf man page is wrong