[GRASS-SVN] r35922 - grass/trunk/general/g.rename

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 18 19:16:16 EST 2009


Author: hamish
Date: 2009-02-18 19:16:15 -0500 (Wed, 18 Feb 2009)
New Revision: 35922

Modified:
   grass/trunk/general/g.rename/main.c
Log:
add comment & more understandable warning message for r35919

Modified: grass/trunk/general/g.rename/main.c
===================================================================
--- grass/trunk/general/g.rename/main.c	2009-02-19 00:13:42 UTC (rev 35921)
+++ grass/trunk/general/g.rename/main.c	2009-02-19 00:16:15 UTC (rev 35922)
@@ -87,7 +87,8 @@
 		continue;
 	    }
 	    if (G_strcasecmp(old, new) == 0) {
-		G_warning(_("%s=%s,%s: files are the same, no rename required"),
+		/* avoid problems on case-insensitive file systems (FAT, NTFS, ...) */
+		G_warning(_("%s=%s,%s: files could be the same, no rename possible"),
 			  parm[n]->key, old, new);
 		continue;
 	    }



More information about the grass-commit mailing list