BSD 4_3 release
[unix-history] / usr / src / usr.lib / libpc / READ4.c
index f5e8a4c..cebcbff 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1979 Regents of the University of California */
 
 /* Copyright (c) 1979 Regents of the University of California */
 
-static char sccsid[] = "@(#)READ4.c 1.6 4/9/82";
+static char sccsid[] = "@(#)READ4.c 1.8 10/28/83";
 
 #include "h00vars.h"
 #include <errno.h>
 
 #include "h00vars.h"
 #include <errno.h>
@@ -35,10 +35,8 @@ READ4(curfile)
                return;
        }
        if (errno != 0) {
                return;
        }
        if (errno != 0) {
-               PERROR(curfile->pfname);
+               PERROR("Error encountered on integer read ", curfile->pfname);
                return;
        }
                return;
        }
-       curfile->funit &= ~EOLN;
-       curfile->funit |= SYNC;
        return data;
 }
        return data;
 }