Bug 43904

Summary: "-not" find option is out of order
Product: Base System Reporter: James Gritton <jamie>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description James Gritton 2002-10-11 01:30:01 UTC
The "-not" option in find is out of order in the options[] array in usr.bin/find/option.c.  Since options are matched via bsearch(), this could stop either "-not" or "-nouser" from working.  This may only become apparent if other options are added.

Fix: 

Switch the "-nouser" and "-not" lines in the options array.
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2002-10-11 08:01:24 UTC
State Changed
From-To: open->closed

Duplicate of bin/43752.