From 21514ffa2638514cdb6d24d3fba40c10e9f80dca Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 4 Oct 2011 23:02:10 +0200 Subject: [PATCH] Compat: relicense vasprintf, strlcpy and localtime_r to LGPL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Code done by Rémi Denis-Courmont --- compat/localtime_r.c | 16 ++++++++-------- compat/strlcpy.c | 16 ++++++++-------- compat/vasprintf.c | 14 +++++++------- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/compat/localtime_r.c b/compat/localtime_r.c index f3e2811dfe..3aa58c76f1 100644 --- a/compat/localtime_r.c +++ b/compat/localtime_r.c @@ -1,21 +1,21 @@ /***************************************************************************** * localtime_r.c: POSIX localtime_r() replacement ***************************************************************************** - * Copyright © 1998-2008 the VideoLAN project + * Copyright © 1998-2008 VLC authors and VideoLAN * - * This program is free software; you can redistribute it and/or 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 + * This program 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.1 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef HAVE_CONFIG_H diff --git a/compat/strlcpy.c b/compat/strlcpy.c index 0740a650ad..bfb8c08724 100644 --- a/compat/strlcpy.c +++ b/compat/strlcpy.c @@ -1,21 +1,21 @@ /***************************************************************************** * strlcpy.c: BSD strlcpy() replacement ***************************************************************************** - * Copyright © 2006 Rémi Denis-Courmont + * Copyright © 2006, 2009 Rémi Denis-Courmont * - * This program is free software; you can redistribute it and/or 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 + * This program 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.1 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef HAVE_CONFIG_H diff --git a/compat/vasprintf.c b/compat/vasprintf.c index d10d4fcf8c..17b6d671f2 100644 --- a/compat/vasprintf.c +++ b/compat/vasprintf.c @@ -3,19 +3,19 @@ ***************************************************************************** * Copyright © 1998-2009 VLC authors and VideoLAN * - * This program is free software; you can redistribute it and/or 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 + * This program 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.1 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. + * GNU Lesser General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef HAVE_CONFIG_H