Locally define PATH_MAX is not available
authorPino Toscano <pino@debian.org>
Thu, 29 Sep 2022 08:55:50 +0000 (09:55 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 29 Sep 2022 08:55:50 +0000 (09:55 +0100)
commit86037a263a589119664efca4bc1075d390c39e53
tree5cf9229130da9b8f5b0269cf08399d7f58eda8eb
parent40accf1db78cdd3d1c0ca6d2ce9eb52f68831646
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