Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback to _POSIX_PATH_MAX when MAXPATHLEN isn't available #130

Merged
merged 1 commit into from
Oct 29, 2019
Merged

Fallback to _POSIX_PATH_MAX when MAXPATHLEN isn't available #130

merged 1 commit into from
Oct 29, 2019

Conversation

jamessan
Copy link
Contributor

On systems where MAXPATHLEN isn't defined, like GNU/Hurd, use _POSIX_PATH_MAX as the starting size for the getcwd() buffer.


This is a patch we've been carrying in Debian since 2014.

On systems where MAXPATHLEN isn't defined, like GNU/Hurd, use
_POSIX_PATH_MAX as the starting size for the getcwd() buffer.
@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.08%) to 80.221% when pulling c6f7473 on jamessan:no-MAXPATHLEN into 1dfb8c4 on keplerproject:master.

1 similar comment
@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.08%) to 80.221% when pulling c6f7473 on jamessan:no-MAXPATHLEN into 1dfb8c4 on keplerproject:master.

@hishamhm hishamhm merged commit 04bdaf9 into lunarmodules:master Oct 29, 2019
@hishamhm
Copy link
Member

@jamessan Merged, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants