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:  updatedb Severity:  3 - Normal
Item Group:  Wrong result Status:  Postponed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Karl Berry Open/Closed:  Open
Release:  None Fixed Release:  None

Add a New Comment(Rich 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-11 jay StatusNone => Postponed

    Back to the top


    Powered by Savane 3.3