From tejblum@arc.hq.cti.ru  Fri Nov 28 00:42:49 1997
Received: from yandex.hq.cti.ru (yandex.hq.cti.ru [194.67.85.53])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA00917
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 28 Nov 1997 00:42:43 -0800 (PST)
          (envelope-from tejblum@arc.hq.cti.ru)
Received: (from tejblum@localhost)
	by yandex.hq.cti.ru (8.8.8/8.8.7) id LAA22553;
	Fri, 28 Nov 1997 11:42:32 +0300 (MSK)
	(envelope-from tejblum)
Message-Id: <199711280842.LAA22553@yandex.hq.cti.ru>
Date: Fri, 28 Nov 1997 11:42:32 +0300 (MSK)
From: Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Reply-To: tejblum@arc.hq.cti.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: find -amin does not work
X-Send-Pr-Version: 3.2

>Number:         5171
>Category:       bin
>Synopsis:       find -amin does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 28 00:50:01 PST 1997
>Closed-Date:    Fri Nov 28 07:48:45 PST 1997
>Last-Modified:  Fri Nov 28 07:49:20 PST 1997
>Originator:     Dmitrij Tejblum
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
CompTek
>Environment:

FreeBSD-current

>Description:

Some time ago new options -amin, -cmin, and -mmin was added to find(1).
The table with options must be sorted lexically, but -amin violate the
order. So this option cannot be found in this table.

>How-To-Repeat:


>Fix:
	
--- option.c.00	Fri Nov 28 11:17:24 1997
+++ option.c	Fri Nov 28 11:17:59 1997
@@ -57,8 +57,8 @@
 	{ "(",		N_OPENPAREN,	c_openparen,	O_ZERO },
 	{ ")",		N_CLOSEPAREN,	c_closeparen,	O_ZERO },
 	{ "-a",		N_AND,		NULL,		O_NONE },
-	{ "-and",	N_AND,		NULL,		O_NONE },
 	{ "-amin",	N_AMIN,	        c_amin,	        O_ARGV },
+	{ "-and",	N_AND,		NULL,		O_NONE },
 	{ "-atime",	N_ATIME,	c_atime,	O_ARGV },
 	{ "-cmin",	N_CMIN,	        c_cmin,	        O_ARGV },
 	{ "-ctime",	N_CTIME,	c_ctime,	O_ARGV },

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Nov 28 07:48:45 PST 1997 
State-Changed-Why:  
Suggested patch applied in -current.  Thanks! 
>Unformatted:
