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
09bf1e1
..
68a5a95
100644
(file)
--- a/
usr/src/bin/ed.c
+++ b/
usr/src/bin/ed.c
@@
-1,4
+1,6
@@
-/* ed.c 4.2 82/12/24 */
+#ifndef lint
+static char sccsid[] = "@(#)ed.c 4.4 (Berkeley) 4/26/86";
+#endif
/*
* Editor
/*
* Editor
@@
-747,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;