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
/
usr.bin
/
refer
/
hunt6.c
diff --git
a/usr/src/usr.bin/refer/hunt6.c
b/usr/src/usr.bin/refer/hunt6.c
index
fa76797
..
03b2f3d
100644
(file)
--- a/
usr/src/usr.bin/refer/hunt6.c
+++ b/
usr/src/usr.bin/refer/hunt6.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)hunt6.c 4.
1 (Berkeley) 5/6/83
";
+static char *sccsid = "@(#)hunt6.c 4.
2 (Berkeley) 1/9/85
";
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-79,10
+79,10
@@
char *qitem[], *rprog;
ar[na++] = "fgrep";
ar[na++] = "-r";
ar[na++] = "-n";
ar[na++] = "fgrep";
ar[na++] = "-r";
ar[na++] = "-n";
- ar[na++] = need;
+ ar[na++] =
(char *)
need;
ar[na++] = "-i";
ar[na++] = output;
ar[na++] = "-i";
ar[na++] = output;
- ar[na++] = len;
+ ar[na++] =
(char *)
len;
for(j=0; j<nitem; j++)
ar[na++] = qitem[j];
# ifdef D1
for(j=0; j<nitem; j++)
ar[na++] = qitem[j];
# ifdef D1