#520: r.terraflow/iostream does not respect STREAM_DIR option
---------------------+------------------------------------------------------
  Reporter:  mmetz   |       Owner:  grass-dev@lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  major   |   Milestone:  6.4.0                    
 Component:  Raster  |     Version:  svn-develbranch6         
Resolution:          |    Keywords:                           
  Platform:  All     |         Cpu:  All                      
---------------------+------------------------------------------------------
Comment (by glynn):

 Replying to [comment:11 adanner]:

 > Hmm. /var/tmp/flowStream is a file but streamdir->answer is supposed to
 be a directory. "flowStream" should be appended to streamdir->answer. Can
 you use strcat or is there a G_? function for that?

 We normally use sprintf(), e.g.:

 {{{
     char path[GPATH_MAX];
     ...
     sprintf(path, "%s/flowStream", streamdir->answer);
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/520#comment:12>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to