projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_1_snap release
[unix-history]
/
usr
/
src
/
lib
/
libpc
/
APPEND.c
diff --git
a/usr/src/lib/libpc/APPEND.c
b/usr/src/lib/libpc/APPEND.c
index
f98daf0
..
b3bb875
100644
(file)
--- a/
usr/src/lib/libpc/APPEND.c
+++ b/
usr/src/lib/libpc/APPEND.c
@@
-1,9
+1,8
@@
/* Copyright (c) 1979 Regents of the University of California */
/* Copyright (c) 1979 Regents of the University of California */
-static char sccsid[] = "@(#)APPEND.c 1.
1 10/31/80
";
+static char sccsid[] = "@(#)APPEND.c 1.
2 6/10/81
";
#include "h00vars.h"
#include "h00vars.h"
-#include "h01errs.h"
APPEND(filep)
APPEND(filep)
@@
-12,7
+11,7
@@
APPEND(filep)
filep = GETNAME (filep, 0, 0, 0);
filep->fbuf = fopen(filep->fname, "a");
if (filep->fbuf == NULL) {
filep = GETNAME (filep, 0, 0, 0);
filep->fbuf = fopen(filep->fname, "a");
if (filep->fbuf == NULL) {
-
ERROR(EOPEN
, filep->pfname);
+
PERROR("Could not open "
, filep->pfname);
return;
}
filep->funit |= (EOFF | FWRITE);
return;
}
filep->funit |= (EOFF | FWRITE);