From owner-svn-src-all@FreeBSD.ORG Mon Jan 26 14:45:47 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 626B61065688 for ; Mon, 26 Jan 2009 14:45:47 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from www.sonnenberger.org (www.ostsee-abc.de [62.206.222.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF888FC25 for ; Mon, 26 Jan 2009 14:45:46 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from britannica.bec.de (www.sonnenberger.org [192.168.1.10]) by www.sonnenberger.org (Postfix) with ESMTP id 734E1667D6 for ; Mon, 26 Jan 2009 15:45:45 +0100 (CET) Received: by britannica.bec.de (Postfix, from userid 1000) id 4F4898DE6A; Mon, 26 Jan 2009 15:45:53 +0100 (CET) Date: Mon, 26 Jan 2009 15:45:53 +0100 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Message-ID: <20090126144552.GA3745@britannica.bec.de> References: <200901261403.n0QE3dKJ051858@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200901261403.n0QE3dKJ051858@svn.freebsd.org> User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Re: svn commit: r187713 - head/sbin/ipfw X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 14:45:47 -0000 On Mon, Jan 26, 2009 at 02:03:39PM +0000, Luigi Rizzo wrote: > Some implementations of getopt() expect that argv[0] is always the > program name, and ignore that entry. ipfw2.c code instead skips > this entry and starts with options at offset 0, relying on a more > tolerant implementation of the library. This is not true. Some (aka GNU) implementation consider optind = 0 as reset condition. Joerg