[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [issues] glibc uses '__unused' as identifier, which is traditionally used by BSD as macro
- To: issues@xxxxxxxxxx
- Subject: Re: [issues] glibc uses '__unused' as identifier, which is traditionally used by BSD as macro
- From: Thorsten Glaser <tg@xxxxxxxxx>
- Date: Thu, 7 May 2009 18:25:26 +0000 (UTC)
Joseph S. Myers dixit:
>There is cost associated with divergence between FSF glibc and EGLIBC that
>comes into play every merge
I do have a suggestion. Maybe we can get into an agreement still…
How about you use the following sed expression on installation?
This way you’d only have to change the Makefile.in in question.
s/[[:<:]]__unused[[:>:]]/&_/g
I do not know if your sed(1) does [[:<:]] and [[:>:]], ours does,
see http://www.mirbsd.org/man7/re_format – if not, something si-
milar would probably be possible.
As __unused* should never be used from userland, this would work
I think.
Comments?
//mirabilos
--
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
-- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc