bug-findutils
[Top][All Lists]
Advanced

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

Re: updatedb files portable?


From: Peter Fales
Subject: Re: updatedb files portable?
Date: Thu, 8 Dec 2005 13:20:48 -0600
User-agent: Mutt/1.4.2.1i

locdb-solaris.old is attached.

Building this db using "updatedb --old-format" flushed out another
bug in 4.2.26.   The first line of updatedb is 

        #! /bin/sh

and around line 249 we have 

        if ! bigrams=ktemp -t updatedbXXXXXXXXX then
        
However (sadly), the solaris bin/sh doesn't support the "!" operation.

-- 
Peter Fales                       Lucent Technologies, Room 1C-436
N9IYJ                             2000 Lucent Ln, PO Box 3033
internet: address@hidden          Naperville, IL 60566-7033
                                  work: (630) 979-8031

On Thu, Dec 08, 2005 at 07:25:46PM +0000, James Youngman wrote:
> On Thu, Dec 08, 2005 at 08:02:50AM -0600, Peter Fales wrote:
> 
> > Using the "new" database looks like it will work for us.   I was under
> > the impression that the format changed between 4.1 and 4.2.26, so
> > that --old-format was needed to stay compatible with 4.1, but that's
> > is apparently not the case.   
> 
> I try quite hard not to create gratuitous incompatibilities.
> 
> > And, yes, new format databases seem to be portable across our
> > various platforms.  Thanks for the help.
> 
> I should add in some test suite tests that relate to continued support
> for the old database format.  Could you please generate a locate
> database in the old format on Solaris (with any version of findutils,
> but ideally both 4.1.x and 4.2.27) so that I can use it as a test
> input?  Ideally this would contain less than 5 files or so, so that we
> an avoid any need for a copyright assignment.  Any old junk filenames
> will do (but not anything confidential obviously).
> 
> Many thanks,
> James.

Attachment: locdb-solaris.old
Description: Binary data


reply via email to

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