[GRASS-dev] G_check_input_output() and fully qualified output map name

Martin Landa landa.martin at gmail.com
Mon Oct 29 07:09:23 EDT 2007


Hi all,

I realized a strange behaviour of r.buffer, e.g.

$ r.buffer in=e out=e d=1

No error, input and output is the same...

$ r.buffer in=e out=e at user1 d=1
Illegal filename. Character <@> not allowed.
ERROR: <e at user> is an illegal file name

Why so restrictive? The current mapset is 'user1'.

I modified library function G_check_input_output() to handle also this case.

If mapset defined for output map is not the current one:
ERROR: Mapset defined for output map <e at user> is not the current mapset

Any objects to commit to CVS?

Martin

-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: legal_name.diff
Type: text/x-diff
Size: 4509 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20071029/4d410112/legal_name.bin


More information about the grass-dev mailing list