From owner-freebsd-bugs Sun Oct 6 15:10: 4 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 DAC9537B401 for ; Sun, 6 Oct 2002 15:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BADE43E75 for ; Sun, 6 Oct 2002 15:10: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 g96MA1Co078475 for ; Sun, 6 Oct 2002 15:10: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 g96MA1Ub078474; Sun, 6 Oct 2002 15:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 402B237B401 for ; Sun, 6 Oct 2002 15:03:17 -0700 (PDT) Received: from h24-78-88-208.vc.shawcable.net (h24-78-88-208.vc.shawcable.net [24.78.88.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E0543E3B for ; Sun, 6 Oct 2002 15:03:16 -0700 (PDT) (envelope-from jhanna@h24-78-88-208.vc.shawcable.net) Received: from h24-78-88-208.vc.shawcable.net (localhost [127.0.0.1]) by h24-78-88-208.vc.shawcable.net (8.12.6/8.12.6) with ESMTP id g96M3GSH010432 for ; Sun, 6 Oct 2002 15:03:16 -0700 (PDT) (envelope-from jhanna@h24-78-88-208.vc.shawcable.net) Received: (from jhanna@localhost) by h24-78-88-208.vc.shawcable.net (8.12.6/8.12.6/Submit) id g96M3FTk010431; Sun, 6 Oct 2002 15:03:15 -0700 (PDT) (envelope-from jhanna) Message-Id: <200210062203.g96M3FTk010431@h24-78-88-208.vc.shawcable.net> Date: Sun, 6 Oct 2002 15:03:15 -0700 (PDT) From: Jonathan Hanna Reply-To: Jonathan Hanna To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/43752: [PATCH] find -not is not 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: 43752 >Category: bin >Synopsis: [PATCH] find -not is not >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: Sun Oct 06 15:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jonathan Hanna >Release: FreeBSD 4.7-RC i386 >Organization: >Environment: System: FreeBSD cub.pangolin-systems.com 4.7-RC FreeBSD 4.7-RC #3: Fri Sep 20 18:47:23 PDT 2002 root@:/usr/obj/usr/src/sys/CUB i386 Stable and Current >Description: "-not" was fairly recently added to find(1), but not at the correct place in a table that must be ordered lexically. >How-To-Repeat: find . -not -type f -print >Fix: --- option.c 2002/10/06 21:23:24 1.1 +++ option.c 2002/10/06 21:23:52 @@ -109,8 +109,8 @@ { "-newermm", c_newer, f_newer, 0 }, { "-newermt", c_newer, f_newer, F_TIME2_T }, { "-nogroup", c_nogroup, f_nogroup, 0 }, - { "-nouser", c_nouser, f_nouser, 0 }, { "-not", c_simple, f_not, 0 }, + { "-nouser", c_nouser, f_nouser, 0 }, { "-o", c_simple, f_or, 0 }, { "-ok", c_exec, f_exec, F_NEEDOK }, { "-okdir", c_exec, f_exec, F_NEEDOK | F_EXECDIR }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message