projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29a75f
)
use lstat
author
Bill Joy
<root@ucbvax.Berkeley.EDU>
Thu, 1 Apr 1982 02:48:52 +0000
(18:48 -0800)
committer
Bill Joy
<root@ucbvax.Berkeley.EDU>
Thu, 1 Apr 1982 02:48:52 +0000
(18:48 -0800)
SCCS-vsn: usr.bin/find/find.c 4.5
usr/src/usr.bin/find/find.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.bin/find/find.c
b/usr/src/usr.bin/find/find.c
index
a1279b8
..
9ea5bc3
100644
(file)
--- a/
usr/src/usr.bin/find/find.c
+++ b/
usr/src/usr.bin/find/find.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)find.c 4.
4
(Berkeley) %G%";
+static char *sccsid = "@(#)find.c 4.
5
(Berkeley) %G%";
/* find COMPILE: cc -o find -s -O -i find.c -lS */
#include <stdio.h>
#include <sys/types.h>
@@
-519,7
+519,7
@@
char *name, *fname;
int rv = 0;
char *endofname;
- if(stat(fname, &Statb)<0) {
+ if(
l
stat(fname, &Statb)<0) {
fprintf(stderr, "find: bad status < %s >\n", name);
return(0);
}