[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getline use in CVS (getline.c and getline.h files)
From: |
Olivier Bornet |
Subject: |
getline use in CVS (getline.c and getline.h files) |
Date: |
Fri, 11 Oct 2002 14:40:40 +0200 |
User-agent: |
Mutt/1.4i |
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...)
Hope this help.
Olivier
--
Olivier Bornet http://www.smartdata.ch/
address@hidden SMARTDATA SA
Phone: +41-27-723'55'03 Rue du Collège 5A
GPG key ID: C53D9218 CH-1920 Martigny
patch-mailutils-getline.txt
Description: Text document
pgpKa6LP61w54.pgp
Description: PGP signature
- getline use in CVS (getline.c and getline.h files),
Olivier Bornet <=
Re: getline use in CVS (getline.c and getline.h files), Sergey Poznyakoff, 2002/10/13