Re: [issue1555] [PATCH] dma: changes for Linux compilation

看板DFBSD_bugs作者時間16年前 (2009/10/04 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig055A8B6881266714BDB20380 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Simon 'corecode' Schubert wrote: > Michel Salim (via DragonFly issue tracker) wrote: >> - My simplistic definition of getprogname() -- is it safe to just make= >> it always >> return "dma" ? Linux has no functional equivalent >=20 > No, you can't. dma can also act as "mailq", and should do so if called= > with this name. It seems that glibc provides > program_invocation_short_name. What about just taking argv[0] early on? Cheers, --=20 Thomas E. Spanjaard tgen@netphreax.net tgen@deepbone.net --------------enig055A8B6881266714BDB20380 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (NetBSD) iEYEARECAAYFAkrHktsACgkQ6xCMwBJ+1+s9lQCeKlqJy4TREFy99z3wkktk2NBh HX8An1qPuqgiBX2yk4TKTK43smoCBc10 =Bpx9 -----END PGP SIGNATURE----- --------------enig055A8B6881266714BDB20380--
文章代碼(AID): #1AnvYbF6 (DFBSD_bugs)
文章代碼(AID): #1AnvYbF6 (DFBSD_bugs)