[GRASS-dev] r45069 - grass/branches/develbranch_6/general/g.findfile - compiling error

Hamish hamish_b at yahoo.com
Tue Jan 18 01:58:33 EST 2011


Martin wrote:
> sorry, fixed in r45072.


when changing stuff which writes stuff to stdout in the stable
branches, please consider that many user scripts may be relying
on the previous [perhaps odd] behavior, and changing it breaks
their scripts (even if it does seem harmless or a bit backward
that anyone would be using it like that).


"name" in this context is the *file=* name not a map name.

spearfish examples:
 g.findfile element=paint/labels file=sample
 g.findfile element=vector/roads file=hist

(admittedly fullname= is nonsense in these case)


I'm not really understanding why file= would ever be passed a
qualified name in the first place? so why is the change needed?
perhaps it is the file= option's description which is the
misleading thing? .. a hold over from grass <=5 when vector bits
were also at the mapset/element/ level?


Hamish



      


More information about the grass-dev mailing list