Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Mon, 13 Jun 2022 18:36:12 +0000 (19:36 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Mon, 13 Jun 2022 18:36:12 +0000 (19:36 +0100)
commit50dc1a4c6424d3bee56ac890eb8f5f8593d7bb38
tree0e3614a70d0cfd7b2aab3ebec3f1d510494936aa
parentbf20a6d9d8833f236bc0ca22f0085ea61437b0d1
Locally define PATH_MAX is not available

Forwarded: no
Last-Update: 2017-11-20

The code unconditionally uses PATH_MAX, which is POSIX-optional.

This fixes the build on platforms without it, such as GNU/Hurd.

Gbp-Pq: Name path_max.diff
Source/WebCore/platform/text/hyphen/HyphenationLibHyphen.cpp