cvs commit: src/lib/libc/sys pathconf.2
Alfred Perlstein
alfred at freebsd.org
Wed Jul 7 16:34:55 PDT 2004
* Garrett Wollman <wollman at khavrinen.lcs.mit.edu> [040707 15:25] wrote:
> <<On Wed, 7 Jul 2004 20:47:42 +0000 (UTC), Alfred Perlstein <alfred at FreeBSD.ORG> said:
>
> > there's no such define as KERN_NAME_MAX, change to _POSIX_NAME_MAX.
>
> That is not more correct.
>
> Actually, it should be documented thus:
>
> .It Li _PC_NO_TRUNC
> Always returns 1.
> (Included to support software written for previous editions of
> .Tn POSIX . )
>
> -GAWollman
Whoa....
if _PC_NO_TRUNC returns 1 then an application should assume that
names longer than 14 characters (_POSIX_NAME_MAX) are truncated???
But that's always set?
I'm confused.
Can you suggest better wording? Perhaps (if I'm understanding properly):
"Always returns 1, but should be ignored."
?
Because we sure as hell don't truncate names 14 characters. :)
--
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684
More information about the cvs-src
mailing list