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
protect with _QUOTA_
[unix-history]
/
usr
/
src
/
usr.bin
/
find
/
main.c
diff --git
a/usr/src/usr.bin/find/main.c
b/usr/src/usr.bin/find/main.c
index
f353f43
..
a18cd49
100644
(file)
--- a/
usr/src/usr.bin/find/main.c
+++ b/
usr/src/usr.bin/find/main.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.
2
(Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
@@
-20,7
+20,7
@@
newsyntax(argc, argvp)
char ***argvp;
{
extern char *optarg;
char ***argvp;
{
extern char *optarg;
- extern int depth, optind
, xdev
;
+ extern int depth, optind;
int ch;
char **argv, **cur;
int ch;
char **argv, **cur;
@@
-38,8
+38,8
@@
newsyntax(argc, argvp)
ftsoptions |= FTS_LOGICAL;
break;
case 'x':
ftsoptions |= FTS_LOGICAL;
break;
case 'x':
- xdev = 1;
ftsoptions &= ~FTS_NOSTAT;
ftsoptions &= ~FTS_NOSTAT;
+ ftsoptions |= FTS_XDEV;
break;
case '?':
default:
break;
case '?':
default: