Skip to content

Provide replacement value for PATH_MAX on platforms without it.#499

Open
petterreinholdtsen wants to merge 1 commit intoberkeley-abc:masterfrom
petterreinholdtsen:missing-path-max
Open

Provide replacement value for PATH_MAX on platforms without it.#499
petterreinholdtsen wants to merge 1 commit intoberkeley-abc:masterfrom
petterreinholdtsen:missing-path-max

Conversation

@petterreinholdtsen
Copy link
Copy Markdown

The buffer length is used in a static array returned from Extra_FileNameGenericAppend(), used many places in the code, and a more dynamic approach would require a huge refactoring. There is no guarantee that the 4096 value picked is large enough, but it matches common values found on Linux.

The buffer length is used in a static array returned from
Extra_FileNameGenericAppend(), used many places in the code, and a
more dynamic approach would require a huge refactoring.  There is no
guarantee that the 4096 value picked is large enough, but it matches
common values found on Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant