[GRASS-git] [OSGeo/grass] ca0e87: Allow parsing long GISDBASE paths (#1376)

Attila Oláh noreply at github.com
Mon Mar 1 01:38:50 PST 2021


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: ca0e87bc20a882ff640b32b0ea8110dc70fe4b12
      https://github.com/OSGeo/grass/commit/ca0e87bc20a882ff640b32b0ea8110dc70fe4b12
  Author: Attila Oláh <attilaolah at gmail.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M lib/gis/env.c

  Log Message:
  -----------
  Allow parsing long GISDBASE paths (#1376)

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.




More information about the grass-commit mailing list