Hi Vincent,

On Monday, 2017-09-18 13:13:07 +0200, Vincent Lefevre wrote:
> > [... _POSIX_PATH_MAX ...]
> > (which usually is defined to 256 including null char).
> 
> And it must be 256 in the current POSIX version:
> 
>   {_POSIX_PATH_MAX}
>     Minimum number the implementation will accept as the maximum
>     number of bytes in a pathname.
>     Value: 256

256 is the *minimum* value ist must have, it's listed under "Minimum
Values" that says "For each of these limits, a conforming implementation
shall provide a value at least this large or shall have no limit."

> > However, _POSIX_PATH_MAX is the maximum length a file name or directory
> > name is assumed to have, not the entire path.
> 
> This is not what the POSIX spec says (see above).

Hmm.. seems I mixed that up (or it is an implementation detail that
happens to be congruent).

  Eike

-- 
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
Use LibreOffice! https://www.libreoffice.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to