From 8511f4ae900f48999617bc8384e9c327673e2196 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 20 Oct 1999 20:17:18 +0000 Subject: First backend! Text output now pretty much works. [originally from svn r240] --- error.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'error.c') diff --git a/error.c b/error.c index 704ae03..b7eb0d5 100644 --- a/error.c +++ b/error.c @@ -142,6 +142,11 @@ static void do_error(int code, va_list ap) { flags = 0; /* FIXME: need to get a filepos to here somehow */ break; + case err_cantopenw: + sp = va_arg(ap, char *); + sprintf(error, "unable to open output file `%.200s'", sp); + flags = PREFIX; + break; } if (flags & PREFIX) -- cgit v1.1