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

GRASS GIS trac at osgeo.org
Sat May 3 23:53:34 PDT 2014


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

Comment(by glynn):

 Replying to [comment:6 neteler]:

 > IMHO rather than having this test in hundreds of modules it should be
 > done in the respective library function.

 Ideally, G_parser() would perform the checks. But that would require
 either a significant amount of fairly ugly code, or redesigning the option
 descriptions (which has been on the table since roughly forever, but with
 no actual progress).

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



More information about the grass-dev mailing list