[libgo] Provide strerror_r replacement (PR go/47515)

Ian Lance Taylor iant@google.com
Wed Mar 23 13:48:00 GMT 2011


Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> Jakub Jelinek <jakub@redhat.com> writes:
>
>> On Tue, Mar 22, 2011 at 06:41:25PM +0100, Rainer Orth wrote:
>>> Apart from the lack of wait4, libgo on IRIX 6.5 contained an undefined
>>> reference to strerror_r.  This patch provides a replacement, based on
>>> gnulib/lib/strerror_r.c, but massively simplified.
>>
>> gnulib strerror_r.c is GPLv3+ licensed, you can't just relicense it
>> as BSD.
>
>>From my understanding, this is only an issue if the code is actually
> copyrightable, i.e. the idea can reasonably expressed in different
> ways.  I doubt that for the case at hand, but am not certain.

I think we should just have Go code that calls strerror anyhow.  There's
no reason to drop into C here.  I'll get to that at some point if nobody
else does.

Ian



More information about the Gcc-patches mailing list