This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/14872] libc web page doesn't specify if PATH_MAX and others include nul terminator
- From: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 27 Dec 2012 17:31:13 +0000
- Subject: [Bug manual/14872] libc web page doesn't specify if PATH_MAX and others include nul terminator
- Auto-submitted: auto-generated
- References: <bug-14872-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14872
--- Comment #5 from Michael Kerrisk <mtk.manpages at gmail dot com> 2012-12-27 17:31:13 UTC ---
(In reply to comment #3)
> The whole POSIX filename interface is byte oriented, so this should be obvious.
It's only obvious to people who work with this stuff all the time. And many
people reading the documentation are not.
Really, the manual should clarify in each case that the unit is bytes. This is
especially problematic because various other parts of the manual refer to
"characters" when discussing NAME_MAX, PATH_MAX, and perhaps some of the other
limits. All of those cases (easily found with a grep through the texi files)
should be fixed.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.