[GRASS-SVN] r32766 - grass/trunk/imagery/i.cluster
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 14 13:39:08 EDT 2008
Author: glynn
Date: 2008-08-14 13:39:08 -0400 (Thu, 14 Aug 2008)
New Revision: 32766
Modified:
grass/trunk/imagery/i.cluster/main.c
Log:
Don't call G_legal_filename() on filename options.
Modified: grass/trunk/imagery/i.cluster/main.c
===================================================================
--- grass/trunk/imagery/i.cluster/main.c 2008-08-14 17:35:23 UTC (rev 32765)
+++ grass/trunk/imagery/i.cluster/main.c 2008-08-14 17:39:08 UTC (rev 32766)
@@ -172,12 +172,6 @@
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) {
More information about the grass-commit
mailing list