From owner-cvs-all Wed Nov 13 12:45: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 053E637B401; Wed, 13 Nov 2002 12:45:08 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48EB243E6E; Wed, 13 Nov 2002 12:45:06 -0800 (PST) (envelope-from max@vega.com) Received: from vega.vega.com (xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.11.6) with ESMTP id gADKj1xA047208; Wed, 13 Nov 2002 22:45:02 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost.vega.com [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id gADKj3g0009416; Wed, 13 Nov 2002 22:45:03 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id gADKj3vJ009415; Wed, 13 Nov 2002 22:45:03 +0200 (EET) Date: Wed, 13 Nov 2002 22:45:03 +0200 From: Maxim Sobolev To: Mike Silbersack Cc: Nate Lawson , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/bin/sleep sleep.c Message-ID: <20021113204503.GI9006@vega.vega.com> References: <200211132012.gADKCQxr062768@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 13, 2002 at 03:32:13PM -0500, Mike Silbersack wrote: > > On Wed, 13 Nov 2002, Nate Lawson wrote: > > > njl 2002/11/13 12:12:26 PST > > > > Modified files: > > bin/sleep sleep.c > > Log: > > Remove getopt and strtol dependencies, reducing size of static exe. > > Preserve older desired behavior, accept [+-]*[0-9]*\.[0-9]* > > Remove a few unnecessary casts. > > Please don't commit crap like this. While having smaller binaries might > be nice, being entered into an obfuscated C contest is not one of the > goals of FreeBSD. I fully agree - HDD space is pretty cheap today, while embedded folks should use other means to reduce footprint (e.g crunchgen). Actually in the case of crunchgen this commit worsens situation, as the code is no longer shared. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message