]> git.ipfire.org Git - thirdparty/asterisk.git/commit
define PATH_MAX for HURD 63/4263/1
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 1 Nov 2016 09:00:21 +0000 (11:00 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 1 Nov 2016 17:23:05 +0000 (12:23 -0500)
commit3748e336ac202827ade95bc802b0a642837f6696
treed1a412d15f89a56d88d978f49e9f3bdcbcd6503d
parentd9f9691d319f680daf6477fcbaf725e38f9de220
define PATH_MAX for HURD

PATH_MAX is not guaranteed to be defined. In parctice, all but the HURD
define it to a constant. It is indeed not safe to assume there won't be
longer paths and Asterisk generally does err safely on such cases.

So even for HURD we'll just pretend PATH_MAX is 4096.

ASTERISK-25070 #close

Change-Id: I53d10ba18c34c132bcb640a5fd8e0da1d9b22db3
include/asterisk.h