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

Allow parsing long GISDBASE paths #1376

Merged
merged 2 commits into from Feb 21, 2021
Merged

Allow parsing long GISDBASE paths #1376

merged 2 commits into from Feb 21, 2021

Conversation

attilaolah
Copy link
Contributor

Use a larger buffer when parsing the .gisrc file. Use GPATH_MAX to fit whatever would fit in the path value, plus the length of the key, plus 2 for newline character and null byte.

Fixes #1373.

attilaolah pushed a commit to attilaolah/wasm that referenced this pull request Feb 19, 2021
Inline the patch for OSGeo/grass#1376 until it
gets merged.
lib/gis/env.c Outdated Show resolved Hide resolved
Use a larger buffer when parsing the `.gisrc` file. Use `GPATH_MAX` to fit whatever would fit in the path value, plus the length of the key.

Fixes OSGeo#1373.
attilaolah pushed a commit to attilaolah/wasm that referenced this pull request Feb 19, 2021
Inline the patch for OSGeo/grass#1376 until it
gets merged.
@nilason nilason self-requested a review February 19, 2021 20:16
@marisn marisn merged commit 4e7606f into OSGeo:master Feb 21, 2021
neteler pushed a commit that referenced this pull request Mar 1, 2021
Use a larger buffer when parsing the `.gisrc` file. Use `GPATH_MAX` to fit whatever would fit in the path value, plus the length of the key.

Fixes #1373.
@neteler neteler added this to the 7.8.6 milestone Mar 1, 2021
marisn pushed a commit to marisn/grass that referenced this pull request Mar 22, 2021
Use a larger buffer when parsing the `.gisrc` file. Use `GPATH_MAX` to fit whatever would fit in the path value, plus the length of the key.

Fixes OSGeo#1373.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
Use a larger buffer when parsing the `.gisrc` file. Use `GPATH_MAX` to fit whatever would fit in the path value, plus the length of the key.

Fixes OSGeo#1373.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
Use a larger buffer when parsing the `.gisrc` file. Use `GPATH_MAX` to fit whatever would fit in the path value, plus the length of the key.

Fixes OSGeo#1373.
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.

[Bug] Cannot build under deep directory structures
4 participants