define PATH_MAX for HURD
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 1 Nov 2016 09:00:21 +0000 (11:00 +0200)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 1 Nov 2016 09:00:21 +0000 (11:00 +0200)
commit69fed26deb176d61bb6d37e7138b360ddf259f8f
treefcfc2a70313900882e3fe44aa0895f389e6e7fba
parent3ad4719917c106a79546676ffec22af9a0921eb4
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