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

GRASS GIS trac at osgeo.org
Thu May 1 10:27:37 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 neteler):

 Replying to [comment:4 hamish]:
 > Would it not have been better to replace G_legal_filename() with some
 > G_legal_mapname() than to just remove all the safety checks?

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

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



More information about the grass-dev mailing list