Date: Thu, 25 Jun 2009 10:43:03 -0700 From: Xin LI <delphij@delphij.net> To: Bruce Evans <brde@optusnet.com.au> Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG, Xin LI <delphij@FreeBSD.ORG> Subject: Re: svn commit: r194789 - head/usr.bin/usbhidctl Message-ID: <4A43B727.7010204@delphij.net> In-Reply-To: <20090625154007.H33864@delplex.bde.org> References: <200906232316.n5NNG1iT094289@svn.freebsd.org> <20090625154007.H33864@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Bruce, Bruce Evans wrote: > On Tue, 23 Jun 2009, Xin LI wrote: > >> Log: >> Use getprogname() instead of referencing __progname. > > Neither is permitted in FreeBSD in usage(). I didn't see references about this? If this is discouraged, perhaps we should mention it in style(9) or somewhere. It looks like that a lot of programs are using (not necessarily from NetBSD), but also others. Do we have some discussion in the past regarding this? >> Modified: >> head/usr.bin/usbhidctl/usbhid.c > > This was obtained from NetBSD, which requires using getprogname() in > usage(). This is purely coincidence... I didn't even looked at NetBSD code in this case, otherwise I would have brought the TNF copyright changes, etc. altogether. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpDtycACgkQi+vbBBjt66A8awCggrT1H1PcbRXdTuKGs9S2Bgd+ v1YAn3XibpzEdWruW7voxhZtd+5qBRmC =uf+j -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A43B727.7010204>