[winGRASS] v.db.addcol

Glynn Clements glynn at gclements.plus.com
Sat Nov 10 08:20:06 EST 2007


Moritz Lennert wrote:

> > Call remove() first.
> >
> I've found the following other places where I have the feeling that this
> needs to be done, but would like confirmation that these are correct:

[snip]

I think that we need a G_rename_file() function (G_rename() already
exists; that renames maps etc). Ideally, the remove() call should only
be used on Windows.

> One I don't know how to interpret what happens is this in lib/g3d/g3dclose.c:

It appears to have been copied verbatim from lib/gis/closecell.c. The
original has since been modified to simply call rename() rather than
messing around with link() or CopyFile().

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




More information about the grass-windows mailing list