A gnulib implementation of the POSIX:2024 function getlocalename_l will likely
depend on or require code from lib/setlocale.c.  Since I want that module to be
under LGPLv2+, 'setlocale' needs to be under LGPLv2+ as well. I can do this
relicensing, since I am the only author of copyright-relevant changes to
lib/setlocale.c.


2025-02-21  Bruno Haible  <br...@clisp.org>

        setlocale: Relicense under LGPLv2+.
        * modules/setlocale (License): Change to LGPLv2+.
        * lib/setlocale.c: Update license notice.

diff --git a/lib/setlocale.c b/lib/setlocale.c
index 0e977360b2..b1c456c9da 100644
--- a/lib/setlocale.c
+++ b/lib/setlocale.c
@@ -3,7 +3,7 @@
 
    This file 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 3 of the
+   published by the Free Software Foundation; either version 2.1 of the
    License, or (at your option) any later version.
 
    This file is distributed in the hope that it will be useful,
diff --git a/modules/setlocale b/modules/setlocale
index a7c52cdeef..1d1389b951 100644
--- a/modules/setlocale
+++ b/modules/setlocale
@@ -31,7 +31,7 @@ Link:
 $(SETLOCALE_LIB)
 
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all




Reply via email to