ソースを参照

Don't call G_legal_filename() on filename options.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32766 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 年 前
コミット
37bfd15781
1 ファイル変更0 行追加6 行削除
  1. 0 6
      imagery/i.cluster/main.c

+ 0 - 6
imagery/i.cluster/main.c

@@ -172,12 +172,6 @@ int main(int argc, char *argv[])
     subgroup = parm.subgroup_name->answer;	/* required */
 
     outsigfile = parm.out_sig->answer;
-    if (G_legal_filename(outsigfile) < 0) {
-	G_warning(_("\n<%s> -- illegal result signature file name"),
-		  outsigfile);
-	G_usage();
-	exit(EXIT_FAILURE);
-    }
 
     if (sscanf(parm.class->answer, "%d", &maxclass) != 1 || maxclass < 1
 	|| maxclass > 255) {