comerr-include-proper-old-compat-glue-20010924
authorDerrick Brashear <shadow@dementia.org>
Mon, 24 Sep 2001 17:11:07 +0000 (17:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 24 Sep 2001 17:11:07 +0000 (17:11 +0000)
so old initialize function works correctly

src/comerr/compile_et.c

index b2915f4..9cbbf64 100644 (file)
@@ -370,7 +370,9 @@ int main (argc, argv) int argc; char **argv; {
     fprintf (hfile, "#define ERROR_TABLE_BASE_%s (%ldL)\n",
             lcname, (long int) table_number);
     fprintf (hfile, "#define init_%s_err_tbl initialize_%s_error_table\n",
-            lcname, lcname);
+            lcname, table_name);
+    fprintf (hfile, "#define initialize_%s_error_table initialize_%s_error_table\n",
+            lcname, table_name);
     fprintf (hfile, "#define %s_err_base ERROR_TABLE_BASE_%s\n", lcname,
             lcname);
     fclose(hfile);             /* bye bye include file */