From owner-freebsd-bugs Fri Nov 28 00:50:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01224 for bugs-outgoing; Fri, 28 Nov 1997 00:50:05 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA01207; Fri, 28 Nov 1997 00:50:02 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 28 Nov 1997 00:50:02 -0800 (PST) Resent-Message-Id: <199711280850.AAA01207@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, tejblum@arc.hq.cti.ru 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 ; 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 Reply-To: tejblum@arc.hq.cti.ru To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/5171: find -amin does not work Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: