diff options
| author | Simon Tatham <anakin@pobox.com> | 2014-12-16 20:43:36 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2014-12-16 20:43:36 +0000 |
| commit | 0a72bbbdf4b9ff119587782009839440a4869dad (patch) | |
| tree | 7a575527056a74cb19bb336ac7c3877cf8ef02ee | |
| parent | cbe54149d478a58c5e385d1dd7d76fe97b1f1015 (diff) | |
| download | halibut-0a72bbbdf4b9ff119587782009839440a4869dad.zip halibut-0a72bbbdf4b9ff119587782009839440a4869dad.tar.gz halibut-0a72bbbdf4b9ff119587782009839440a4869dad.tar.bz2 halibut-0a72bbbdf4b9ff119587782009839440a4869dad.tar.xz | |
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.
| -rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1664,7 +1664,9 @@ paragraph *read_input(input *in, indexdata *idx) { } else { (*reader)(in); } - } + } else { + err_cantopen(in->filenames[in->currindex]); + } in->currindex++; } |