Re: [exim-dev] [Bug 2213] New: directory name (path name) le…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Viktor Dukhovni
Dátum:  
Címzett: exim-dev
Tárgy: Re: [exim-dev] [Bug 2213] New: directory name (path name) length limited to 254 characters


> On Dec 23, 2017, at 10:39 AM, admin@??? wrote:
>
> I suspect the value was chosen because of _POSIX_PATH_MAX being 256, but exim
> applies the limit only to the directory component, directory+filename can be
> longer than 256. I myself have no strong opinion whether the limit should be
> raised, I just think it should be documented.


Why _POSIX_PATH_MAX and not PATH_MAX (and where appropriate NAME_MAX)?

http://pubs.opengroup.org/onlinepubs/7908799/xsh/limits.h.html

-- 
    Viktor.