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

Attila Oláh noreply at github.com
Sun Feb 21 03:50:58 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 4e7606fac92ca8418af976ba4cbb84dc4f10113a
      https://github.com/OSGeo/grass/commit/4e7606fac92ca8418af976ba4cbb84dc4f10113a
  Author: Attila Oláh <attilaolah at gmail.com>
  Date:   2021-02-21 (Sun, 21 Feb 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