[GRASS-SVN] r29638 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 9 10:03:40 EST 2008
Author: mlennert
Date: 2008-01-09 10:03:40 -0500 (Wed, 09 Jan 2008)
New Revision: 29638
Modified:
grass/trunk/lib/gis/rename.c
Log:
Should remove already existing file with newname, not the oldname which we want to rename
Modified: grass/trunk/lib/gis/rename.c
===================================================================
--- grass/trunk/lib/gis/rename.c 2008-01-09 14:48:30 UTC (rev 29637)
+++ grass/trunk/lib/gis/rename.c 2008-01-09 15:03:40 UTC (rev 29638)
@@ -36,7 +36,7 @@
{
#ifdef __MINGW32__
- remove(oldname);
+ remove(newname);
#endif
return rename(oldname, newname);
More information about the grass-commit
mailing list