Date: Mon, 8 Apr 2002 14:46:29 +0200 (CEST) From: aaron <aaron@lo-res.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/36874: time(1): invalid arguments Message-ID: <200204081246.g38CkTDR009784@meta.lo-res.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204081246.g38CkTDR009784>