From b855148c9b6d28fedfd083d037bcf246f1913d92 Mon Sep 17 00:00:00 2001 From: wkj Date: Sun, 16 May 2004 07:54:22 +0000 Subject: Checkpoint. --- src/cmd/postscript/common/common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/cmd/postscript/common/common.c') diff --git a/src/cmd/postscript/common/common.c b/src/cmd/postscript/common/common.c index 945ef6a0..a58167a6 100644 --- a/src/cmd/postscript/common/common.c +++ b/src/cmd/postscript/common/common.c @@ -209,14 +209,14 @@ endpage(void) { int cat(char *filename) { Biobuf *bfile; - Biobuf *Bfile; + Biobufhdr *Bfile; int n; static char buf[Bsize]; - if ((bfile = Bopen(unsharp(filename), OREAD)) == 0) { + if ((bfile = Bopen(filename, OREAD)) == 0) { return(1); } - Bfile = bfile; + Bfile = bfile; /* &(bfile->Biobufhdr); */ while ((n=Bread(Bfile, buf, Bsize)) > 0) { if (Bwrite(Bstdout, buf, n) != n) break; @@ -240,9 +240,9 @@ galloc(void *ptr, int size, char *perstr) { } static char *errorstrings[] = { - {""}, /* NONE */ - {"WARNING"}, - {"FATAL"} + "", /* NONE */ + "WARNING", + "FATAL" }; char *programname; -- cgit v1.2.3