bug-findutils
[Top][All Lists]
Advanced

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

[bug #20310] updatedb generates an invalid database of (1) one filename


From: James Youngman
Subject: [bug #20310] updatedb generates an invalid database of (1) one filename (=concatenation of all filenames on the fs)
Date: Tue, 03 Jul 2007 21:46:03 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070310 Iceweasel/2.0.0.3 (Debian-2.0.0.3-2)

Update of bug #20310 (project findutils):

             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #2:

My initial guess would be that you are using a findutils installation in
whcih the "configure" script thought that sort had a working -z option, but
in fact it doesn't work.


In updatedb.sh there is the following:

    if @SORT_SUPPORTS_Z@
    then
        sort="@SORT@ -z"
        print_option="-print0"
        frcode_options="$frcode_options -0"
    else
        sort="@SORT@"
        print_option="-print"
    fi

If my hypothesis is correct, this expands to ...
    if true
    then
        sort="sort -z"
        print_option="-print0"
        frcode_options="$frcode_options -0"
    else
        sort="sort"
        print_option="-print"
    fi

... but sort's -z option does not provide for sorting NUL-terminated strings.
   Could you check both of these gueses please?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20310>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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