main.c (41399) | main.c (61575) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 37#ifndef lint 38char copyright[] = 39"@(#) Copyright (c) 1990, 1993, 1994\n\ 40 The Regents of the University of California. All rights reserved.\n"; 41#endif /* not lint */ 42 43#ifndef lint | 1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Cimarron D. Taylor of the University of California, Berkeley. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 27 unchanged lines hidden (view full) --- 36 37#ifndef lint 38char copyright[] = 39"@(#) Copyright (c) 1990, 1993, 1994\n\ 40 The Regents of the University of California. All rights reserved.\n"; 41#endif /* not lint */ 42 43#ifndef lint |
44#if 0 |
|
44static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95"; | 45static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95"; |
46#else 47static const char rcsid[] = 48 "$FreeBSD: head/usr.bin/find/main.c 61575 2000-06-12 11:12:41Z roberto $"; 49#endif |
|
45#endif /* not lint */ 46 47#include <sys/types.h> 48#include <sys/stat.h> 49 50#include <err.h> 51#include <errno.h> 52#include <fcntl.h> --- 9 unchanged lines hidden (view full) --- 62time_t now; /* time find was run */ 63int dotfd; /* starting directory */ 64int ftsoptions; /* options for the ftsopen(3) call */ 65int isdeprecated; /* using deprecated syntax */ 66int isdepth; /* do directories on post-order visit */ 67int isoutput; /* user specified output operator */ 68int issort; /* do hierarchies in lexicographical order */ 69int isxargs; /* don't permit xargs delimiting chars */ | 50#endif /* not lint */ 51 52#include <sys/types.h> 53#include <sys/stat.h> 54 55#include <err.h> 56#include <errno.h> 57#include <fcntl.h> --- 9 unchanged lines hidden (view full) --- 67time_t now; /* time find was run */ 68int dotfd; /* starting directory */ 69int ftsoptions; /* options for the ftsopen(3) call */ 70int isdeprecated; /* using deprecated syntax */ 71int isdepth; /* do directories on post-order visit */ 72int isoutput; /* user specified output operator */ 73int issort; /* do hierarchies in lexicographical order */ 74int isxargs; /* don't permit xargs delimiting chars */ |
75int mindepth = -1, maxdepth = -1; /* minimum and maximum depth */ |
|
70 71static void usage __P((void)); 72 73int 74main(argc, argv) 75 int argc; 76 char *argv[]; 77{ --- 83 unchanged lines hidden --- | 76 77static void usage __P((void)); 78 79int 80main(argc, argv) 81 int argc; 82 char *argv[]; 83{ --- 83 unchanged lines hidden --- |