Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 2004 16:34:55 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/sys pathconf.2
Message-ID:  <20040707233455.GI95729@elvis.mu.org>
In-Reply-To: <200407072225.i67MP03s039814@khavrinen.lcs.mit.edu>
References:  <200407072047.i67Klgqu082069@repoman.freebsd.org> <200407072225.i67MP03s039814@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Garrett Wollman <wollman@khavrinen.lcs.mit.edu> [040707 15:25] wrote:
> <<On Wed, 7 Jul 2004 20:47:42 +0000 (UTC), Alfred Perlstein <alfred@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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040707233455.GI95729>