[GRASS-CVS] markus: grass6/imagery/i.find main.c,2.8,2.8.2.1
grass at intevation.de
grass at intevation.de
Thu Nov 29 08:32:21 EST 2007
Author: markus
Update of /grassrepository/grass6/imagery/i.find
In directory doto:/tmp/cvs-serv19024/imagery/i.find
Modified Files:
Tag: releasebranch_6_3
main.c
Log Message:
replace rename() with G_rename_file() for Win compatibility (merge from HEAD)
Index: main.c
===================================================================
RCS file: /grassrepository/grass6/imagery/i.find/main.c,v
retrieving revision 2.8
retrieving revision 2.8.2.1
diff -u -d -r2.8 -r2.8.2.1
--- main.c 19 Apr 2007 19:08:20 -0000 2.8
+++ main.c 29 Nov 2007 13:32:19 -0000 2.8.2.1
@@ -91,7 +91,7 @@
* and check for completion by looking for the file
*/
if (ok)
- rename(tempfile, argv[n+1]);
+ G_rename_file(tempfile, argv[n+1]);
remove(tempfile);
}
More information about the grass-commit
mailing list