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 3 development
[unix-history]
/
usr
/
src
/
cmd
/
sed
/
sed0.c
diff --git
a/usr/src/cmd/sed/sed0.c
b/usr/src/cmd/sed/sed0.c
index
c2f27c3
..
2b92948
100644
(file)
--- a/
usr/src/cmd/sed/sed0.c
+++ b/
usr/src/cmd/sed/sed0.c
@@
-32,7
+32,6
@@
char *argv[];
rep->ad1 = respace;
lbend = &linebuf[LBSIZE];
hend = &holdsp[LBSIZE];
rep->ad1 = respace;
lbend = &linebuf[LBSIZE];
hend = &holdsp[LBSIZE];
- lcomend = &genbuf[71];
ptrend = &ptrspace[PTRSIZE];
reend = &respace[RESIZE];
labend = &labtab[LABSIZE];
ptrend = &ptrspace[PTRSIZE];
reend = &respace[RESIZE];
labend = &labtab[LABSIZE];
@@
-40,7
+39,6
@@
char *argv[];
pending = 0;
depth = 0;
spend = linebuf;
pending = 0;
depth = 0;
spend = linebuf;
- hspend = holdsp;
fcode[0] = stdout;
nfiles = 1;
fcode[0] = stdout;
nfiles = 1;
@@
-83,7
+81,7
@@
char *argv[];
}
}
- if(
compfl == 0
) {
+ if(
rep == ptrspace
) {
eargv--;
eargc++;
eflag++;
eargv--;
eargc++;
eflag++;
@@
-121,7
+119,6
@@
fcomp()
int i;
struct label *lpt;
int i;
struct label *lpt;
- compfl = 1;
op = lastre;
if(rline(linebuf) < 0) return;
op = lastre;
if(rline(linebuf) < 0) return;