diff options
| author | wkj <devnull@localhost> | 2004-05-16 07:54:22 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-16 07:54:22 +0000 |
| commit | b855148c9b6d28fedfd083d037bcf246f1913d92 (patch) | |
| tree | 0075eb6ea37427fa48b78cb937fabc04175cead1 /src/cmd/postscript/common/common.c | |
| parent | 61f5c35c9465f0702739b41249a664d409f0482c (diff) | |
Checkpoint.
Diffstat (limited to 'src/cmd/postscript/common/common.c')
| -rw-r--r-- | src/cmd/postscript/common/common.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |