- added information about incorrect use of getdents(2) call to the man page (#809490)

This commit is contained in:
Peter Schiffer 2012-09-13 15:42:21 +02:00
parent 642031d269
commit 1eca3cb073
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,15 @@
diff -ur man-pages-3.42.orig/man2/getdents.2 man-pages-3.42/man2/getdents.2
--- man-pages-3.42.orig/man2/getdents.2 2012-08-14 00:39:36.000000000 +0200
+++ man-pages-3.42/man2/getdents.2 2012-09-13 15:27:45.241212934 +0200
@@ -187,6 +187,11 @@
fields employed in the
.IR linux_dirent
structure.
+
+Warning: Result of the
+.BR getdents ()
+system call in 32 bit application on 64 bit OS doesn't have to be
+always correct, potentially the call itself can fail.
.SH EXAMPLE
.\" FIXME: This program uses the older getdents(0 system call
.\" and the structure with smaller field widths.

View File

@ -58,6 +58,8 @@ Patch52: man-pages-3.42-ip.patch
Patch53: man-pages-3.42-ip-local-port.patch
# resolves: #694860
Patch54: man-pages-3.42-nsswitch-conf-sssd.patch
# resolves: #809490
Patch55: man-pages-3.42-getdents.patch
Autoreq: false
@ -94,6 +96,7 @@ Documentation Project (LDP).
%patch52 -p1
%patch53 -p1
%patch54 -p1
%patch55 -p1
## Remove man pages we are not going to use ##
@ -171,6 +174,7 @@ cd ..
- add documentation of several source-specific multicast socket options to the ip(7) man page (#804003)
- improved explanation about calling listen or connect on the ip(7) man page (#787567)
- mention sssd in the nsswitch.conf(5) man page (#694860)
- added information about incorrect use of getdents(2) call to the man page (#809490)
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.41-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild