From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 51b91681 for ; Fri, 6 Nov 2015 12:52:11 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1ZulBI-0002Qj-8q; Fri, 06 Nov 2015 18:52:09 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1ZulBI-0006k8-6i; Fri, 06 Nov 2015 18:52:08 +0100 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84) (envelope-from ) id 1ZulBI-0004qM-1R; Fri, 06 Nov 2015 18:52:08 +0100 Received: from localhost (1031@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id 76b1c625; Fri, 6 Nov 2015 18:52:08 +0100 (CET) Date: Fri, 6 Nov 2015 18:52:07 +0100 From: Ingo Schwarze To: Joerg Sonnenberger Cc: discuss@mdocml.bsd.lv Subject: Re: mdocml: Finally use __progname, err(3) and warn(3). Message-ID: <20151106175207.GL14370@athene.usta.de> References: <8807850261702479663.enqueue@fantadrom.bsd.lv> <20151106122857.GC27632@britannica.bec.de> <20151106164357.GH14370@athene.usta.de> <20151106164730.GA1823@britannica.bec.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151106164730.GA1823@britannica.bec.de> User-Agent: Mutt/1.5.23 (2014-03-12) Hi Joerg, Joerg Sonnenberger wrote on Fri, Nov 06, 2015 at 05:47:30PM +0100: > On Fri, Nov 06, 2015 at 05:43:57PM +0100, Ingo Schwarze wrote: >> I didn't bother with platforms having __progname but not getprogname(3); >> those can use argv[0] just like platforms having neither. > That's fine. The note was primarily about addressing old rants from > Theo about getprogname() :) I seem unable to find those, but i understand that he encouraged import of getprogname(3) into OpenBSD libc and that he later said it "has the potential to be more portable": http://marc.info/?l=openbsd-cvs&m=137003410606499&w=2 http://marc.info/?l=openbsd-tech&m=139882367211410&w=2 Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv