Skip to content

PATHLEN falls back to 128 on default builds... #374

Description

@onyxring

The LINUX and MACOS settings for PATHLEN use 8192, PC_WIN32 uses 512, but the default build...

cc -O2 -o inform *.c

...drops to the fallback of 128.

I'm hitting it on a personal project: a deeply-nested tree plus several include search roots, where the accumulated +include_path overruns 128 characters. There are workarounds (shorter/relative paths; rebuild with a larger DPATHLEN setting) so it's not urgent, but 128 feels like an anachronistic default which people following the build instructions in the README will hit.

Could the default be bumped to match macOS/Linux (8192) by raising the fallback?

Looks like a one-line change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions