From jhanna@h24-78-88-208.vc.shawcable.net  Sun Oct  6 15:03:17 2002
Return-Path: <jhanna@h24-78-88-208.vc.shawcable.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 402B237B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <jhanna@shaw.ca>
Reply-To: Jonathan Hanna <jhanna@shaw.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] find -not is not
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43752
>Category:       bin
>Synopsis:       [PATCH] find -not is not
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 15:10:01 PDT 2002
>Closed-Date:    Thu Jun 05 23:39:04 PDT 2003
>Last-Modified:  Thu Jun 05 23:39:04 PDT 2003
>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:
State-Changed-From-To: open->patched 
State-Changed-By: des 
State-Changed-When: Tue Feb 18 06:45:01 PST 2003 
State-Changed-Why:  
Fixed in -CURRENT, awaiting MFC. 


Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: des 
Responsible-Changed-When: Tue Feb 18 06:45:01 PST 2003 
Responsible-Changed-Why:  
So I remember to MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43752 
State-Changed-From-To: patched->closed 
State-Changed-By: des 
State-Changed-When: Thu Jun 5 23:39:03 PDT 2003 
State-Changed-Why:  
Fixed. 

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