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
release 3.2, Jan 4, 1980
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_temp.c
diff --git
a/usr/src/usr.bin/ex/ex_temp.c
b/usr/src/usr.bin/ex/ex_temp.c
index
340b0be
..
e8f8780
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_temp.c
+++ b/
usr/src/usr.bin/ex/ex_temp.c
@@
-23,13
+23,13
@@
fileinit()
register int i, j;
struct stat stbuf;
register int i, j;
struct stat stbuf;
- if (tline == INCRMT *
3
)
+ if (tline == INCRMT *
(HBLKS+2)
)
return;
cleanup(0);
close(tfile);
return;
cleanup(0);
close(tfile);
- tline = INCRMT *
3
;
- blocks[0] =
1
;
- blocks[1] =
2
;
+ tline = INCRMT *
(HBLKS+2)
;
+ blocks[0] =
HBLKS
;
+ blocks[1] =
HBLKS+1
;
blocks[2] = -1;
dirtcnt = 0;
iblock = -1;
blocks[2] = -1;
dirtcnt = 0;
iblock = -1;