bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU locate Version 4.1.7


From: James Youngman
Subject: Re: GNU locate Version 4.1.7
Date: Thu, 7 Aug 2003 08:27:00 +0100
User-agent: Mutt/1.3.28i

On Wed, Aug 06, 2003 at 11:38:40PM +0200, Andreas Metzler wrote:

[ bug fixed in the CVS code for findutils ]

> Time for 4.1.21?

Possibly, but I am considering using "sort -z" to sort the list of
filenames used to build the locate database, so that locate can work
with files containing newlines.  I had planned for 4.1.21/4.2.0 to be
released when I had done that.

However, while standard GNU packaging practice would be for the
updatedb shell script to use "find .... -print0 | sort -z" if
available and to use just "find ... -print | sort" if not, a talk by
Bdale Garbee at the UKUUG Linux 2003 conference has mostly convinced
me that the configure script should assume the that all "optional"
features are required, and by default should fail if there is a
missing dependency (in this case a sort program that accepts the -z
option).

In our case, this would mean that the configure script should try
"sort -z", make sure it it works, and fail completely if it doesn't.
A configure option "--without-sort-z" would be provided to allow the
package to be built on systems without "sort -z", but this wouldn't
happen automatically.

Bdale, is this an accurate representation of the sort of approach you
were recommending?

-- 
James Youngman.
CSSC Bug reporting page:       http://sf.net/tracker/?group_id=8064&atid=108064
GNU Findutils bug reporting page: http://savannah.gnu.org/bugs/?group=findutils




reply via email to

[Prev in Thread] Current Thread [Next in Thread]