--- ./doc/find.texi.locate 2013-02-02 14:24:20.000000000 +0200 +++ ./doc/find.texi 2013-05-24 22:16:29.231200270 +0300 @@ -7,7 +7,6 @@ @c %**end of header @include version.texi -@include ../locate/dblocation.texi @iftex @finalout @@ -571,8 +570,7 @@ entries. Here is how to select which file name databases @code{locate} -searches. The default is system-dependent. At the time this document -was generated, the default was @file{@value{LOCATE_DB}}. +searches. The default is system-dependent. @table @code @item --database=@var{path} @@ -2840,13 +2838,9 @@ directories are indexed by each database file. The default location for the locate database depends on how findutils -is built, but the findutils installation accompanying this manual uses -the default location @file{@value{LOCATE_DB}}. - -If no database exists at @file{@value{LOCATE_DB}} but the user did not -specify where to look (by using @samp{-d} or setting -@code{LOCATE_PATH}), then @code{locate} will also check for a -``secure'' database in @file{/var/lib/slocate/slocate.db}. +is built. If user did not specify where to look (by using @samp{-d} +or setting @code{LOCATE_PATH}), then @code{locate} will also check for +a ``secure'' database in @file{/var/lib/slocate/slocate.db}. @node Database Formats @section Database Formats @@ -3389,8 +3383,7 @@ @item --database=@var{path} @itemx -d @var{path} -Instead of searching the default @code{locate} database -@file{@value{LOCATE_DB}}, @code{locate} searches the file +@code{locate} searches the file name databases in @var{path}, which is a colon-separated list of database file names. You can also use the environment variable @code{LOCATE_PATH} to set the list of database files to search. The @@ -3575,8 +3568,7 @@ is @file{nfs NFS proc}. @item --output=@var{dbfile} -The database file to build. The default is system-dependent, but -when this document was formatted it was @file{@value{LOCATE_DB}}. +The database file to build. @item --localuser=@var{user} The user to search the non-network directories as, using @code{su}. @@ -5583,7 +5575,7 @@ @section Error Messages From @code{locate} @table @samp -@item warning: database @file{@value{LOCATE_DB}} is more than 8 days old +@item warning: database @file{LOCATE_DB} is more than 8 days old The @code{locate} program relies on a database which is periodically built by the @code{updatedb} program. That hasn't happened in a long time. To fix this problem, run @code{updatedb} manually. This can @@ -5591,7 +5583,7 @@ periodic ``cron'' task which normally does this doesn't get a chance to run. -@item locate database @file{@value{LOCATE_DB}} is corrupt or invalid +@item locate database @file{LOCATE_DB} is corrupt or invalid This should not happen. Re-run @code{updatedb}. If that works, but @code{locate} still produces this error, run @code{locate --version} and @code{updatedb --version}. These should produce the same output. --- ./Makefile.am.locate 2013-05-24 22:16:29.229200301 +0300 +++ ./Makefile.am 2013-05-24 22:18:37.594268627 +0300 @@ -9,7 +9,7 @@ # "tests" is the gnulib unit test dir. -SUBDIRS = gl tests build-aux lib find xargs locate doc po m4 +SUBDIRS = gl tests build-aux lib find xargs doc po m4 ACLOCAL_AMFLAGS = -I gl/m4 -I m4 --- ./Makefile.in.locate 2013-05-24 22:16:29.230200286 +0300 +++ ./Makefile.in 2013-05-24 22:19:35.057409052 +0300 @@ -1449,7 +1449,7 @@ DISTCLEANFILES = tool-versions.txt # "tests" is the gnulib unit test dir. -SUBDIRS = gl tests build-aux lib find xargs locate doc po m4 +SUBDIRS = gl tests build-aux lib find xargs doc po m4 ACLOCAL_AMFLAGS = -I gl/m4 -I m4 TESTFILE_SUFFIXES = .exp .xo .xe .xi all: config.h