blob: 8c5c80500ffd118fe428c84931e78df1052d63ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
$NetBSD: patch-ap,v 1.10 2008/03/11 15:46:57 joerg Exp $
--- lib/gvc/gvconfig.c.orig 2008-03-11 06:01:47.000000000 +0100
+++ lib/gvc/gvconfig.c
@@ -584,6 +584,7 @@ void gvconfig(GVC_t * gvc, boolean resca
f = fopen(gvc->config_path,"r");
if (!f) {
agerr (AGERR,"failed to open %s for read.\n", gvc->config_path);
+ exit(1);
}
else {
config_text = gmalloc(config_st.st_size + 1);
|