=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/find/main.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/find/main.c 1996/06/26 05:33:11 1.2 --- src/usr.bin/find/main.c 1996/10/24 03:46:04 1.3 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.2 1996/06/26 05:33:11 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.3 1996/10/24 03:46:04 tholo Exp $ */ /*- * Copyright (c) 1990, 1993 *************** *** 35,41 **** #ifndef lint /*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/ ! static char rcsid[] = "$OpenBSD: main.c,v 1.2 1996/06/26 05:33:11 deraadt Exp $"; #endif /* not lint */ #include --- 35,41 ---- #ifndef lint /*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/ ! static char rcsid[] = "$OpenBSD: main.c,v 1.3 1996/10/24 03:46:04 tholo Exp $"; #endif /* not lint */ #include *************** *** 45,50 **** --- 45,51 ---- #include #include #include + #include #include #include #include *************** *** 66,75 **** --- 67,79 ---- int argc; char *argv[]; { + struct sigaction sa = { show_path, SA_RESTART, NULL }; register char **p, **start; int ch; (void)time(&now); /* initialize the time-of-day */ + + sigaction(SIGINFO, &sa, NULL); p = start = argv; ftsoptions = FTS_NOSTAT|FTS_PHYSICAL;