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

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 7 Jul 2004 16:34:55 -0700, Alfred Perlstein <alfred@freebsd.org> said:

> if _PC_NO_TRUNC returns 1 then an application should assume that
> names longer than 14 characters (_POSIX_NAME_MAX) are truncated???

No.  Under obsolete versions of POSIX, if {NO_TRUNC} is nonzero, an
application should assume that pathname components longer than
{NAME_MAX} are not truncated, but instead result in the [ENAMETOOLONG]
error.  Under the current version of POSIX, [ENAMETOOLONG] is
mandatory for all systems; this was an obsolete option to allow for
the behavior of the V7 filesystem, which has been phased out.

-GAWollman



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