[PATCH] fts.3 is not available in LFS builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As pointed out during a recent discussion on libc-hacker the fts(3)
APIs can't be used with large file offsets:

	https://sourceware.org/bugzilla/show_bug.cgi?id=15838

The manpage should mention this.  Note: the text probably needs some
better formatting at least, but I couldn't come up with proper markup
for compiler arguments.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

diff --git a/man3/fts.3 b/man3/fts.3
index 9374463..2b14c0d 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -774,6 +774,10 @@ The options were invalid.
 These functions are available in Linux since glibc2.
 .SH CONFORMING TO
 4.4BSD.
+.SH BUGS
+All the APIs described in this manpage are not safe when compiling
+a program using the LFS APIs, e.g. by using
+-D_FILE_OFFSET_BITS=64.
 .\" The following statement is years old, and seems no closer to
 .\" being true -- mtk
 .\" The
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux