Good morning.

The patch in the attachment fixes the test in braces.c.

Repace free_array with strvec_dispose.
Remove unused fatal_error and report_error to
eliminate linking failures.

regards, Dmitry
diff --git a/braces.c b/braces.c
index c6d567f..4e66fb3 100644
--- a/braces.c
+++ b/braces.c
@@ -786,20 +786,6 @@ array_concat (arr1, arr2)
 #if defined (TEST)
 #include <stdio.h>
 
-fatal_error (format, arg1, arg2)
-     char *format, *arg1, *arg2;
-{
-  report_error (format, arg1, arg2);
-  exit (1);
-}
-
-report_error (format, arg1, arg2)
-     char *format, *arg1, *arg2;
-{
-  fprintf (stderr, format, arg1, arg2);
-  fprintf (stderr, "\n");
-}
-
 main ()
 {
   char example[256];
@@ -823,7 +809,7 @@ main ()
       for (i = 0; result[i]; i++)
        printf ("%s\n", result[i]);
 
-      free_array (result);
+      strvec_dispose (result);
     }
 }
 

Reply via email to