From owner-freebsd-bugs Thu Oct 10 17:30: 3 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E13337B401 for ; Thu, 10 Oct 2002 17:30:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2B3B43EB7 for ; Thu, 10 Oct 2002 17:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9B0U1Co083808 for ; Thu, 10 Oct 2002 17:30:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9B0U1J1083807; Thu, 10 Oct 2002 17:30:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95EB737B401 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/43904: "-not" find option is out of order Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43904 >Category: bin >Synopsis: "-not" find option is out of order >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 10 17:30:01 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message