[GRASS-dev] [bug #5197] (grass) G_parser() didn't catch 'old, vector, vector'

Hamish Bowman via RT grass-bugs at intevation.de
Thu May 10 07:08:42 EDT 2007

GRAS63> v.distance from=dummy1 to=dummy2 upload=cat col=nic
ERROR: Could not find input map <dummy1>

for 'old,vector,vector' the parser doesn't test if the map exists, only that
the string exists. that's left to the module when it tries to open the map:

 G_fatal_error(_("Could not find input map <%s>"), from_opt->answer);

but 'new,vector,vector' checks and gives an error if it exists (without --o).
Maybe the "map already exists" part of that test could ported to old,map,map?


-------------------------------------------- Managed by Request Tracker

More information about the grass-dev mailing list