]> git.ipfire.org Git - thirdparty/asterisk.git/commit
define PATH_MAX for HURD 62/4262/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:22:53 +0000 (12:22 -0500)
commitc1c9487375f4dc80c5425a9ccfd407f3fa849ac3
tree8cfa0db1e845ba40ff61a59888f3125012e8d5a7
parent42bd70b29f5673ffead10c70cc4096c1410f4144
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