summaryrefslogtreecommitdiffstats
path: root/print/pdq/files/patch-ab
blob: 9735d3419a60df1c038e91df35334833cd9f670f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- src/parse_rc.c.orig	Fri Mar 31 23:36:30 2000
+++ src/parse_rc.c	Tue Jul 11 11:08:20 2000
@@ -23,7 +23,6 @@
 #include <glob.h>
 #include <string.h>
 #include <stdlib.h>
-#include <values.h>
 
 
 #include "parse.h"
@@ -46,12 +45,8 @@
    i = glob (d, 0, NULL, &globbuf); 
    free (d);
    if (i != 0) {
-      if (i == GLOB_NOMATCH) {
-	 /* Keep on going */
-      } else {
-	 fprintf (stderr, "Died while globbing %s\n", d);
-	 my_exit (1);
-      }
+      fprintf (stderr, "Died while globbing %s\n", d);
+      my_exit (1);
    } else {
       /* Globbed something real */
       for (i = 0; i < globbuf.gl_pathc; i++) {
@@ -74,11 +69,7 @@
 
    i = glob (d, 0, NULL, &globbuf); 
    if (i != 0) {
-      if (i == GLOB_NOMATCH) {
-	 fprintf (stderr, "No files match %s\n", d);
-      } else {
-	 fprintf (stderr, "Died while globbing %s\n", d);
-      }
+      fprintf (stderr, "Died while globbing %s\n", d);
       free (d);
       my_exit (1);
    } else {
OpenPOWER on IntegriCloud