[GRASS-dev] [GRASS GIS] #1912: g.mapset warns of illegal filename in mapset= but creates the mapset anyway.
GRASS GIS
trac at osgeo.org
Wed Apr 3 08:18:50 PDT 2013
#1912: g.mapset warns of illegal filename in mapset= but creates the mapset
anyway.
-------------------------+--------------------------------------------------
Reporter: torsti | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: | Platform: Linux
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by torsti):
Looking at the source it seems the issue is that neither
'''general/g.mapset/main.c''' nor '''lib/gis/make_mapset.c''' include a
call to ''G_legal_name()'' and the mapset dir itself is created with
''G_mkdir()'' which is just a thin wrapper around ''mkdir()''.
So probably '''make_mapset.c''' is what should be patched.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1912#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list