From owner-freebsd-bugs Sat Aug 11 7:10:15 2001 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 46A1E37B409 for ; Sat, 11 Aug 2001 07:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7BEA1P17170; Sat, 11 Aug 2001 07:10:01 -0700 (PDT) (envelope-from gnats) Received: from mailoutvl21.berlin.de (mail.berlin.de [195.243.105.33]) by hub.freebsd.org (Postfix) with ESMTP id A9F2337B403 for ; Sat, 11 Aug 2001 07:07:55 -0700 (PDT) (envelope-from slaven.rezic@berlin.de) Received: from herceg.de ([213.6.5.47]) by mailoutvl21.berlin.de (InterMail vK.4.03.04.00 201-232-130 license c0e4b842f1eddc5308d584e55543c802) with ESMTP id <20010811140833.NCFB25691.mailoutvl21@herceg.de> for ; Sat, 11 Aug 2001 16:08:33 +0200 Received: (from eserte@localhost) by vran.herceg.de (8.11.4/8.9.3) id f7BD8KV05536; Sat, 11 Aug 2001 15:08:20 +0200 (CEST) (envelope-from eserte) Message-Id: <200108111308.f7BD8KV05536@vran.herceg.de> Date: Sat, 11 Aug 2001 15:08:20 +0200 (CEST) From: Slaven Rezic Reply-To: Slaven Rezic To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/29625: limits -d etc. should not output warning 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: 29625 >Category: bin >Synopsis: limits -d etc. should not output warning >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 11 07:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Slaven Rezic >Release: FreeBSD 4.3-STABLE i386 >Organization: Private FreeBSD site, Berlin, Germany >Environment: System: FreeBSD vran.herceg.de 4.3-STABLE FreeBSD 4.3-STABLE #6: Mon Jul 9 11:49:47 CEST 2001 root@vran.herceg.de:/vran/home/src/FreeBSD-4/src/sys/compile/VRAN i386 shell is tcsh >Description: If I type limits -d I get a warning and the correct result: limits: option requires an argument -- d Resource limits (current): datasize 524288 kb The warning should not be there. Same with other options (-c etc.). >How-To-Repeat: See above >Fix: I'm not sure whether the functionality (option takes optionally an argument) can be achieved with getopt(3). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message