bug-mailutils
[Top][All Lists]
Advanced

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

Re: getline use in CVS (getline.c and getline.h files)


From: Alain Magloire
Subject: Re: getline use in CVS (getline.c and getline.h files)
Date: Sun, 13 Oct 2002 13:47:31 -0400 (EDT)

> 
> Hello,
> 
> I think the current CVS version is not consistent with the use of the
> getline () function. Here is the main problems:
> 
> - there are two same copy of getline.h (in lib and in mailbox), but a
>   "make dist" only distribute the mailbox copy of getline.h.
> - only one getline.c exists (in mailbox).
> - some C files include getline.h, but no compilation of getline.c at any
>   time.
> - the text about the license in the getline.h and getline.c talk about a
>   GPL license, not a LGPL. As this is used in the library, this cause
>   the library must also be GPL (if I'm correct). This is not what it is
>   explained in the README file : the libs are LGPL.
> 
> One solution is to remove the getline files, and to remove the
> references to getline.h/getline.c in the CVS. Of course, this will cause
> problems with compilation on a non-GNU system (as getline is a GNU
> extension of the libc)...
> 
> If you think this is the right way, the needed patch is attached to this
> email. If you think this is not the right way, you must implement a LGPL
> version of getline.c (or ask the copyright holder to change his
> license...)

The best way is to have a LGPL implementation of getline to fall back to.

Anybody have the description?  So I can make a quick implementation with
fgets().  Of course patches are welcome.






reply via email to

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