Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 1997 11:42:32 +0300 (MSK)
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/5171: find -amin does not work
Message-ID:  <199711280842.LAA22553@yandex.hq.cti.ru>
Resent-Message-ID: <199711280850.AAA01207@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5171
>Category:       bin
>Synopsis:       find -amin does not work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 28 00:50:01 PST 1997
>Last-Modified:
>Originator:     Dmitrij Tejblum
>Organization:
CompTek
>Release:        FreeBSD 3.0-CURRENT i386
>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 },

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711280842.LAA22553>