[libcxx-commits] [PATCH] D92110: [SystemZ][ZOS] Provide PATH_MAX macro for libcxx

Zibi Sarbino via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 13 11:26:11 PST 2021


zibi added a comment.

> Neither.
>
> The documentation Hubert pointed to clearly mentions that `PATH_MAX ` can be used, so I don't understand the issue. If the issue is that you want to be able to compile libc++ on systems so old that they don't have `PATH_MAX` defined even though the documentation says it is provided, that doesn't sound compelling to me.

I'm sorry if the comments mislead you but the fact is that `PATH_MAX` is NOT provided on z/OS for the reasons I provided on Dec 9, 2020. 
We have to use hard-coded value 1024 or _XOPEN_PATH_MAX macro. I discussed this issue internally the rational was provided before on Dec. 9.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92110/new/

https://reviews.llvm.org/D92110



More information about the libcxx-commits mailing list