From owner-freebsd-bugs Thu Jan 10 12:40:11 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 5172D37B404 for ; Thu, 10 Jan 2002 12:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0AKe2c21138; Thu, 10 Jan 2002 12:40:02 -0800 (PST) (envelope-from gnats) Date: Thu, 10 Jan 2002 12:40:02 -0800 (PST) Message-Id: <200201102040.g0AKe2c21138@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Marc Olzheim Subject: Re: kern/33738: [PATCH] empty argv Reply-To: Marc Olzheim 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 The following reply was made to PR kern/33738; it has been noted by GNATS. From: Marc Olzheim To: Sheldon Hearn Cc: Marc Olzheim , bug-followup@freebsd.org, Serge van den Boom Subject: Re: kern/33738: [PATCH] empty argv Date: Thu, 10 Jan 2002 21:31:12 +0100 > > > If the Standard does not say that a list must be non-empty, then it > > > may be empty. > > > > Hmmm, then programs like passwd, lpr, etc. should probably be fixed, or > > checked for potential abuse of (argc == 0). > > True, but that kind of audit can't be supported by a single PR. Rather > open distinct PRs for each program. And the getopt patch ? Should that be reposted in a different PR also ? It's behaviour seems according to what the man page dictates... Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message