[GRASS-SVN] r29639 - grass/branches/releasebranch_6_3/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 9 10:45:26 EST 2008
Author: neteler
Date: 2008-01-09 10:45:25 -0500 (Wed, 09 Jan 2008)
New Revision: 29639
Modified:
grass/branches/releasebranch_6_3/lib/gis/rename.c
Log:
winGRASS: Should remove already existing file with newname, not the oldname which we want to rename (merge from HEAD)
Modified: grass/branches/releasebranch_6_3/lib/gis/rename.c
===================================================================
--- grass/branches/releasebranch_6_3/lib/gis/rename.c 2008-01-09 15:03:40 UTC (rev 29638)
+++ grass/branches/releasebranch_6_3/lib/gis/rename.c 2008-01-09 15:45:25 UTC (rev 29639)
@@ -36,7 +36,7 @@
{
#ifdef __MINGW32__
- remove(oldname);
+ remove(newname);
#endif
return rename(oldname, newname);
More information about the grass-commit
mailing list