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

 
 

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

Submitter:  James Youngman <jay>
Submitted:  Mon 24 Mar 2008 06:30:36 PM UTC
   
 
Category:  updatedb Severity:  3 - Normal
Item Group:  Wrong result Status:  Postponed
Privacy:  Public Assigned to:  jay
Originator Name:  Karl Berry Open/Closed:  Open
Release:  None Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-758e.
    Corresponding source code