diff --git a/man-pages-3.42-connect.patch b/man-pages-3.42-connect.patch new file mode 100644 index 0000000..4b07c13 --- /dev/null +++ b/man-pages-3.42-connect.patch @@ -0,0 +1,20 @@ +diff -ur man-pages-3.42.orig/man2/connect.2 man-pages-3.42/man2/connect.2 +--- man-pages-3.42.orig/man2/connect.2 2012-08-14 00:39:35.000000000 +0200 ++++ man-pages-3.42/man2/connect.2 2012-09-18 16:21:40.502613484 +0200 +@@ -152,14 +152,8 @@ + .I sa_family + field. + .TP +-.B EAGAIN +-No more free local ports or insufficient entries in the routing cache. +-For +-.B AF_INET +-see the description of +-.I /proc/sys/net/ipv4/ip_local_port_range +-.BR ip (7) +-for information on how to increase the number of local ports. ++.B EADDRNOTAVAIL ++Non-existent interface was requested or the requested address was not local. + .TP + .B EALREADY + The socket is nonblocking and a previous connection attempt has not yet diff --git a/man-pages.spec b/man-pages.spec index 59cd63d..c0210ab 100644 --- a/man-pages.spec +++ b/man-pages.spec @@ -63,6 +63,8 @@ Patch54: man-pages-3.42-close.patch Patch55: man-pages-3.42-proc-file-nr.patch # resolves: #517309 Patch56: man-pages-3.42-zdump.patch +# resolves: #392431 +Patch57: man-pages-3.42-connect.patch Autoreq: false @@ -101,6 +103,7 @@ Documentation Project (LDP). %patch54 -p1 %patch55 -p1 %patch56 -p1 +%patch57 -p1 ## Remove man pages we are not going to use ## @@ -182,6 +185,7 @@ cd .. - document why to use shutdown() before close() when dealing with sockets on close(2) man page (#650985) - update description of /proc/sys/fs/file-nr file in proc(5) man page (#497197) - update zdump(8) man page to match current zdump usage (#517309) +- fix one incorrect error code on connect(2) man page (#392431) * Thu Jul 19 2012 Fedora Release Engineering - 3.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild