Skip to content
Snippets Groups Projects
Commit 92fe00d3 authored by Christian Pfeiffer's avatar Christian Pfeiffer Committed by Brad King
Browse files

Ninja: Fix command line limit when sysconf has no ARG_MAX

The `sysconf(3)` manual explains that the return value can be `-1` for
limits if there is no definite limit.  Recognize this case and skip
using the value as a limit candidate.  Otherwise we use response files
unconditionally on such systems instead of checking other limits.

Fixes: #16740
parent 1adbe223
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment