From owner-cvs-all Tue Sep 11 5: 8: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id 7EACC37B407; Tue, 11 Sep 2001 05:08:03 -0700 (PDT) Received: (from sos@localhost) by freebsd.dk (8.11.3/8.11.3) id f8BC8Si07878; Tue, 11 Sep 2001 14:08:28 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200109111208.f8BC8Si07878@freebsd.dk> Subject: Re: cvs commit: src/usr.sbin/burncd burncd.8 burncd.c In-Reply-To: <20010911150539.A47073@sunbay.com> "from Ruslan Ermilov at Sep 11, 2001 03:05:39 pm" To: Ruslan Ermilov Date: Tue, 11 Sep 2001 14:08:28 +0200 (CEST) Cc: =?KOI8-R?Q?S=F8ren_Schmidt?= , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 It seems Ruslan Ermilov wrote: [ Charset KOI8-R unsupported, converting... ] > On Tue, Sep 11, 2001 at 04:52:50AM -0700, S?ren Schmidt wrote: > > sos 2001/09/11 04:52:50 PDT > > > > Modified files: > > usr.sbin/burncd burncd.8 burncd.c > > Log: > > Fixes from Ruslan Ermilov: > > > [...] > > 4. Nuke the prog_name variable burncd.c, use getprogname(3). > > > Uhh, here's what I actually said: > > : The patch for burncd.c also nukes the prog_name variable. > : If it's at all needed (and this contradicts what style(9) > : says), please use getprogname(3) instead. > > What I meant was is that if you need that prog_name variable, > you should initialize it from getprogname(3), not from argv[0]. Yep, but I dont need it for anything but the usage() stuff... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message