* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
static char sccsid
[] = "@(#)hunt8.c 4.5 (Berkeley) 4/18/91";
#define unopen(fil) {if (fil!=NULL) {fclose(fil); fil=NULL;}}
extern long indexdate
, gdate();
/* make a file suitable for fgrep */
sprintf(tmp
, "%s '%s' > '%s.ig'", _PATH_MKEY
,s
,s
);
if (ckexist(indexname
, ".ig"))
/* existing gfrep -type index */
fprintf(stderr
, "found fgrep\n");
fa
= iopen(indexname
, ".ig");
fb
= iopen(indexname
, "");
fa
= iopen(indexname
, ".ig");
if (ckexist(indexname
, ""))
fprintf(stderr
, "make fgrep\n");
return (access(fnam
, 04) != -1);
err("Missing expected file %s", fnam
);