summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2015-05-09 23:15:02 +0100
committerJames Youngman <jay@gnu.org>2015-05-09 23:15:02 +0100
commit8b8f40e39d0810f7e658cb23e4c431a55409495e (patch)
treee9f4f77bfa4333f7fa32d45bcde2076972e86fad /configure.ac
parent31ef19a3b0a98e53d952625ee44a47ede5625fa3 (diff)
downloadfindutils-8b8f40e39d0810f7e658cb23e4c431a55409495e.tar.gz
Fix Savannah bug #45062: Enabling CACHE_IDS causes segfaults
* configure.ac: Modify the --enable-id-cache option such that it no longer has any effect, since that code causes segfaults. * NEWS: Mention this bugfix. * find/parser.c (parse_nogroup): Remove CACHE_IDS code. (parse_nouser): Likewise. (parse_version): Indicate that CACHE_IDS is ignored. * find/pred.c (pred_nogroup): Remove CACHE_IDS code. (pred_nouser): Likewise.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 498ee0fd..eceaf89a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,12 +16,7 @@ dnl check for --with-fts
FIND_WITH_FTS
AC_ARG_ENABLE(id-cache,
-[ --enable-id-cache cache all UIDs & GIDs; avoid if using NIS or Hesiod],
- AC_DEFINE([CACHE_IDS], 1, [Define if you want find -nouser and -nogroup to make tables of
- used UIDs and GIDs at startup instead of using getpwuid or
- getgrgid when needed. Speeds up -nouser and -nogroup unless you
- are running NIS or Hesiod, which make password and group calls
- very expensive.]))
+[ --enable-id-cache This currently has no effect.],)
AC_ARG_ENABLE(debug,
AS_HELP_STRING(--enable-debug,Enable debugging output which is likely to be interesting to people debugging findutils),