From a1064d42794d434b952d89855013fcd4e7044dff Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 14 Nov 2005 23:02:03 +0000
Subject: [PATCH] for functions originally adapted from other sources, invoke
 LGPL clause 3 to convert all LGPLed functions to GPLed ones, so that we don't
 have to include a copy of the LGPL

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3173 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog   |  4 +++-
 src/utils.c | 15 ++++++++-------
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2101c8a6..4bc4e7e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,7 +94,9 @@ CVS code -
 	  which was apparently in 1999. (DLR)
 	- For functions originally adapted from other sources, add
 	  notices from the original files, as we do with the tab
-	  completion functions adapted from busybox. (DLR)
+	  completion functions adapted from busybox.  Also, invoke LGPL
+	  clause 3 to convert all LGPLed functions to GPLed ones, so
+	  that we don't have to include a copy of the LGPL. (DLR)
 - chars.c:
   mbwidth()
 	- If wcwidth() returns -1 for the character passed in, treat the
diff --git a/src/utils.c b/src/utils.c
index bd9bd96b..29bfd095 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -159,23 +159,24 @@ void sunder(char *str)
 
 /* These functions (ngetline() and ngetdelim(), originally getline() and
  * getdelim()) were adapted from GNU mailutils 0.5 (mailbox/getline.c).
- * Here is the notice from that file:
+ * Here is the notice from that file, after converting to the GPL via
+ * LGPL clause 3:
  *
  * GNU Mailutils -- a suite of utilities for electronic mail
  * Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
  *
  * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
  *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
+ * General Public License for more details.
  *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA  */
 
 #if !defined(NANO_SMALL) && defined(ENABLE_NANORC)
-- 
GitLab