瀏覽代碼

add comment & more understandable warning message for https://trac.osgeo.org/grass/changeset/35919

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@35922 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 年之前
父節點
當前提交
f880e9570b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      general/g.rename/main.c

+ 2 - 1
general/g.rename/main.c

@@ -87,7 +87,8 @@ int main(int argc, char *argv[])
 		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;
 	    }