[GRASS-CVS] moritz: grass6/imagery/i.find main.c,2.8,2.9
grass at intevation.de
grass at intevation.de
Fri Nov 23 16:07:26 EST 2007
Author: moritz
Update of /grassrepository/grass6/imagery/i.find
In directory doto:/tmp/cvs-serv25437
Modified Files:
main.c
Log Message:
replace rename() with G_rename_file()
Index: main.c
===================================================================
RCS file: /grassrepository/grass6/imagery/i.find/main.c,v
retrieving revision 2.8
retrieving revision 2.9
diff -u -d -r2.8 -r2.9
--- main.c 19 Apr 2007 19:08:20 -0000 2.8
+++ main.c 23 Nov 2007 21:07:23 -0000 2.9
@@ -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