STDIO fix
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 2 Mar 1993 08:56:26 +0000 (00:56 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 2 Mar 1993 08:56:26 +0000 (00:56 -0800)
SCCS-vsn: contrib/ed/e.c 5.4

usr/src/contrib/ed/e.c

index 284b3b6..09c351a 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)e.c        5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)e.c        5.4 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/types.h>
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -136,6 +136,7 @@ e2(inputt, errnum)
        if (fhtmp == NULL) {
                ed_exit(5); /* unable to create buffer */
        }
        if (fhtmp == NULL) {
                ed_exit(5); /* unable to create buffer */
        }
+       fwrite("R", sizeof(char), 1, fhtmp);
        file_seek = 0;
 #endif
 #ifdef DBI
        file_seek = 0;
 #endif
 #ifdef DBI