Files
findutils/find/finddata.c
2005-07-30 21:42:10 +00:00

49 lines
1.5 KiB
C

/* finddata.c -- global data for "find".
Copyright (C) 1990, 91, 92, 93, 94, 2000,
2003, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA.
*/
#include "defs.h"
/* Name this program was run with. */
char *program_name;
/* All predicates for each path to process. */
struct predicate *predicates;
/* The last predicate allocated. */
struct predicate *last_pred;
/* The root of the evaluation tree. */
struct predicate *eval_tree = NULL;
struct options options;
struct state state;
/* The full path of the initial working directory, or "." if
STARTING_DESC is nonnegative. */
char const *starting_dir = ".";
/* A file descriptor open to the initial working directory.
Doing it this way allows us to work when the i.w.d. has
unreadable parents. */
int starting_desc;