bugfindutils - Bugs: bug #22715, find command for NETPATHS in...

 
 

bug #22715: find command for NETPATHS in updatedb is inconsistent with that for SEARCHPATHS

Submitted by:  James Youngman <jay>
Submitted on:  Mon 24 Mar 2008 06:30:36 PM UTC  
 
Category: updatedbSeverity: 3 - Normal
Item Group: Wrong resultStatus: Postponed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Karl BerryOpen/Closed: Open
Release: NoneFixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 11 Apr 2010 11:58:26 AM UTC, comment #1:

updatedb would probably be best rewritten. I'm going to mark the updatedb-related bus as "Postponed" in order to consider them all in a batch, when I get around to the rewrite.

(Leslie P. Polzer did start on a rewrite some time back as part of the Summer of Code but there are some updatedb-related issues his changes don't resolve yet, I think)

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 24 Mar 2008 06:30:36 PM UTC, original submission:

The find command for NETPATHS in updatedb is different than the others.
For example (line breaks changed for ease of comparison):

# : A8
$find $NETPATHS $FINDOPTIONS
\( -type d -regex "$PRUNEREGEX" -prune \)
-o $print_option || ...

The -prune is inside the parentheses. Compare with, say:

# : A6
$find $SEARCHPATHS $FINDOPTIONS
\( $prunefs_exp -type d -regex "$PRUNEREGEX" \)
-prune -o $print_option || ...

I don't actually use NETPATHS, so I'm not sure if it actually makes a difference, I just saw it by inspection ...

James Youngman <jay>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Apr 2010 11:58:26 AM UTCjayStatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup