New implementation of long variable names. Each variable has a
[pspp-builds.git] / src / file-type.c
index 42ca684304cb088e20e8275a674c1b7a83dfb654..87bd874f102dddec1b84a5757bc48500225dfe98 100644 (file)
@@ -44,7 +44,7 @@ enum
 /* Limited variable column specifications. */
 struct col_spec
   {
-   char name[SHORT_NAME_LEN + 1];      /* Variable name. */
+    char name[LONG_NAME_LEN + 1]; /* Variable name. */
     int fc, nc;                        /* First column (1-based), # of columns. */
     int fmt;                   /* Format type. */
     struct variable *v;                /* Variable. */
@@ -264,7 +264,7 @@ cmd_file_type (void)
          goto error;
        }
       
-      if (!strcmp (fty->case_sbc.name, fty->record.name))
+      if (!strcasecmp (fty->case_sbc.name, fty->record.name))
        {
          msg (SE, _("CASE and RECORD must specify different variable "
                     "names."));