[GRASS-dev] [GRASS GIS] #2031: G_legal_filename() cleanup patch for GRASS 6

GRASS GIS trac at osgeo.org
Mon Jul 15 05:04:19 PDT 2013


#2031: G_legal_filename() cleanup patch for GRASS 6
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.4                    
Component:  LibGIS   |     Version:  svn-releasebranch64      
 Keywords:           |    Platform:  All                      
      Cpu:  All      |  
---------------------+------------------------------------------------------
 Continued here from bug #2025:

 G_legal_filename()...

 Replying to [comment:9 glynn]:
 > ... is meant for anything which will be a single component of a
 pathname: either an unqualified map name, or a mapset name, or a location
 name.
 >
 > Any characters which have "meaning" to GRASS or to the OS are not
 "legal" in this sense, so it rejects names which contain e.g. "@" (mapset
 separator) or "/" (directory separator).

 Attached a backport of r32820 from GRASS 7. Please verify.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2031>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list