diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-24 03:46:06 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-10-24 03:46:06 +0000 |
commit | 6344795100ad92aae94694aeace1e65374d288c1 (patch) | |
tree | 4c1a5d3f5195d202d8f212afa71f288ce43ad74f /usr.bin/find/find.c | |
parent | bf3c020c3dffc6b56743d8a908fab5929d89c782 (diff) |
Respond to SIGINFO; from PR #42
Diffstat (limited to 'usr.bin/find/find.c')
-rw-r--r-- | usr.bin/find/find.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c index f14b03cd875..3f79284515d 100644 --- a/usr.bin/find/find.c +++ b/usr.bin/find/find.c @@ -1,4 +1,4 @@ -/* $OpenBSD: find.c,v 1.2 1996/06/26 05:33:09 deraadt Exp $ */ +/* $OpenBSD: find.c,v 1.3 1996/10/24 03:46:04 tholo Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)find.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: find.c,v 1.2 1996/06/26 05:33:09 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: find.c,v 1.3 1996/10/24 03:46:04 tholo Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -149,12 +149,14 @@ FTS *tree; /* pointer to top of FTS hierarchy */ * take a search plan and an array of search paths and executes the plan * over all FTSENT's returned for the given search paths. */ + +FTSENT *entry; /* shared with SIGINFO handler */ + void find_execute(plan, paths) PLAN *plan; /* search plan */ char **paths; /* array of pathnames to traverse */ { - register FTSENT *entry; PLAN *p; if (!(tree = fts_open(paths, ftsoptions, (int (*)())NULL))) |