From 0a72bbbdf4b9ff119587782009839440a4869dad Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 16 Dec 2014 20:43:36 +0000 Subject: Add missing err_cantopen. As far as I can tell from the source control history, Halibut has _never_ actually printed an error message on failure to open one of its input files! The error message has existed all along, but was never actually invoked. Ahem. --- input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/input.c b/input.c index be59386..88ace8f 100644 --- a/input.c +++ b/input.c @@ -1664,7 +1664,9 @@ paragraph *read_input(input *in, indexdata *idx) { } else { (*reader)(in); } - } + } else { + err_cantopen(in->filenames[in->currindex]); + } in->currindex++; } -- cgit v1.1