This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/14872] libc web page doesn't specify if PATH_MAX and others include nul terminator


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]