Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pathconf(2) _PC_NO_TRUNC wrong description ?
On Thu, Jul 22, 2010 at 02:43:02PM -0400, Matthew Mondor wrote:
> On Thu, 22 Jul 2010 20:23:19 +0200
> Nicolas Joly <njoly%pasteur.fr@localhost> wrote:
> >
> > Thanks. Adjusted to :
> >
> > Return 0 if filenames longer than {NAME_MAX} are truncated.
>
> If I understand, it should return 0 if filenames will silently be
> truncated, and 1 if it'll error instead? Perhaps that also should be
> mentioned if so (I've seen in a Linux man page the following
> description instead: returns non-zero if accessing filenames longer
> than _POSIX_NAME_MAX generates an error).
>
> If that's true, perhaps we could have "Return 0 if filenames longer
> than {NAME_MAX} are silently truncated, or non-zero if an error is
> generated when {NAME_MAX} is exceeded."
Will do, thanks.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
Home |
Main Index |
Thread Index |
Old Index