[GRASS-dev] Re: should G_raster_map_type() use G_find_cell2() ?

Glynn Clements glynn at gclements.plus.com
Thu Oct 26 14:31:22 EDT 2006


Hamish wrote:

> perhaps more to the point,
> 
> lib/gis/find_file.c
> 
> the Doxygen header comments for G_find_file() and G_find_file2()
> each describe what the other function does.

You're misreading the comment for G_find_file2() (easily done, due to
the odd phrasing):

 *      Exactly the same as G_find_file() except that if name is in the
 *      form nnn in ppp, and is found, name is changed to nnn by G_find_file().

This is saying: G_find_file() changes the name, but this function
doesn't.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list