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_3 release
[unix-history]
/
usr
/
src
/
bin
/
ed.c
diff --git
a/usr/src/bin/ed.c
b/usr/src/bin/ed.c
index
4b9a3fd
..
68a5a95
100644
(file)
--- a/
usr/src/bin/ed.c
+++ b/
usr/src/bin/ed.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)ed.c 4.
3 (Berkeley) 8/11/83
";
+static char sccsid[] = "@(#)ed.c 4.
4 (Berkeley) 4/26/86
";
#endif
/*
#endif
/*
@@
-749,7
+749,6
@@
int (*f)();
if ((dol-zero)+1 >= nlall) {
int *ozero = zero;
nlall += 512;
if ((dol-zero)+1 >= nlall) {
int *ozero = zero;
nlall += 512;
- free((char *)zero);
if ((zero = (int *)realloc((char *)zero, nlall*sizeof(int)))==NULL) {
lastc = '\n';
zero = ozero;
if ((zero = (int *)realloc((char *)zero, nlall*sizeof(int)))==NULL) {
lastc = '\n';
zero = ozero;