Date: Sun, 6 Oct 2002 15:03:15 -0700 (PDT) From: Jonathan Hanna <jhanna@shaw.ca> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/43752: [PATCH] find -not is not Message-ID: <200210062203.g96M3FTk010431@h24-78-88-208.vc.shawcable.net>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210062203.g96M3FTk010431>
