From owner-freebsd-bugs Mon Apr 8 5:50:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A32837B43D for ; Mon, 8 Apr 2002 05:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g38Co1599211; Mon, 8 Apr 2002 05:50:01 -0700 (PDT) (envelope-from gnats) Received: from meta.lo-res.org (meta.lo-res.org [195.58.189.92]) by hub.freebsd.org (Postfix) with ESMTP id 10FCB37B417 for ; Mon, 8 Apr 2002 05:47:46 -0700 (PDT) Received: from meta.lo-res.org (knwluz@localhost [127.0.0.1]) by meta.lo-res.org (8.12.2/8.12.2) with ESMTP id g38CliRe009812 for ; Mon, 8 Apr 2002 14:47:44 +0200 (CEST) (envelope-from aaron@meta.lo-res.org) Received: (from aaron@localhost) by meta.lo-res.org (8.12.2/8.12.2/Submit) id g38CkTDR009784; Mon, 8 Apr 2002 14:46:29 +0200 (CEST) Message-Id: <200204081246.g38CkTDR009784@meta.lo-res.org> Date: Mon, 8 Apr 2002 14:46:29 +0200 (CEST) From: aaron Reply-To: aaron To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/36874: time(1): invalid arguments Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36874 >Category: bin >Synopsis: time(1): invalid arguments >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: Mon Apr 08 05:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: aaron >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD meta.lo-res.org 4.5-STABLE FreeBSD 4.5-STABLE #10: Sat Apr 6 20:21:43 CEST 2002 root@meta.lo-res.org:/usr/people/scratch/usr/people/src/sys/meta i386 >Description: as mentioned in the man pages, time(1) should accept some flags such as "-l", "-p" But it complains (tries to execute the flags) when f.ex "-l" is given. >How-To-Repeat: aaron@meta:~> time -l ls bash: -l: command not found ^^^^^^^^^^^^^^ ---- oops! real 0m0.004s user 0m0.001s sys 0m0.002s HOWEVER: when you type in in: /usr/bin/time -l ls everything works as expected. >Fix: I personally assume something is wrong in the argv calculation at line 111 of /usr/src/usr.bin/time/time.c or maybe in execvp (child) which would be really strange. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message