From nobody@FreeBSD.org  Thu Oct 10 17:26:52 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 95EB737B401
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Oct 2002 17:26:52 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4024E43EB7
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Oct 2002 17:26:52 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9B0Qq7R081615
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 10 Oct 2002 17:26:52 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9B0QqUi081614;
	Thu, 10 Oct 2002 17:26:52 -0700 (PDT)
Message-Id: <200210110026.g9B0QqUi081614@www.freebsd.org>
Date: Thu, 10 Oct 2002 17:26:52 -0700 (PDT)
From: James Gritton <jamie@gritton.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "-not" find option is out of order
X-Send-Pr-Version: www-1.0

>Number:         43904
>Category:       bin
>Synopsis:       "-not" find option is out of order
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 17:30:01 PDT 2002
>Closed-Date:    Fri Oct 11 00:02:04 PDT 2002
>Last-Modified:  Fri Oct 11 00:02:04 PDT 2002
>Originator:     James Gritton
>Release:        4.7
>Organization:
>Environment:
Not running yet - just looked at source
>Description:
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.
>How-To-Repeat:
      
>Fix:
Switch the "-nouser" and "-not" lines in the options array.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Fri Oct 11 00:01:24 PDT 2002 
State-Changed-Why:  
Duplicate of bin/43752. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43904 
>Unformatted:
