Date: Thu, 10 Oct 2002 17:26:52 -0700 (PDT) From: James Gritton <jamie@gritton.org> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/43904: "-not" find option is out of order Message-ID: <200210110026.g9B0QqUi081614@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210110026.g9B0QqUi081614>