bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gethostname: LGPL -> LGPLv2+


From: Simon Josefsson
Subject: Re: gethostname: LGPL -> LGPLv2+
Date: Mon, 27 Oct 2008 18:44:13 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> I'd like to use the gethostname module in libvirt (LGPLv2+),
> for use when building for mingw.
>
> Considering the size of the module (trivial, 10-line gethostname function
> and minimal gethostname.m4), would anyone object to relaxing its license
> from LGPL to LGPLv2+?
>
> This is mainly to avoid gnulib's link-time warning:
>
>   ...: undefined reference to address@hidden'
>
> In this particular case, gethostname is essentially a no-op,
> and always returns the empty string, since mingw
> has no uname function, and in that case, gethostname's
> body reverts to this:
>
>     strcpy (name, "");            /* Hardcode your system name if you want.  
> */

FWIW, I think it would be useful to have it as LGPLv2+ as well.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]