[v2,2/2] fs: udf: udftime: Replace LGPL boilerplate with SPDX identifier

Message ID 20230522005434.22133-3-bagasdotme@gmail.com
State New
Headers
Series SPDX conversion from UDF |

Commit Message

Bagas Sanjaya May 22, 2023, 12:54 a.m. UTC
  Replace license boilerplate in udftime.c with SPDX identifier for
LGPL-2.0.

Cc: Paul Eggert <eggert@twinsun.com>
Cc: Richard Fontana <rfontana@redhat.com>
Cc: Pali Rohár <pali@kernel.org>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 fs/udf/udftime.c | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
  

Comments

J Lovejoy May 23, 2023, 5:56 p.m. UTC | #1
On 5/21/23 6:54 PM, Bagas Sanjaya wrote:
> Replace license boilerplate in udftime.c with SPDX identifier for
> LGPL-2.0.
>
> Cc: Paul Eggert <eggert@twinsun.com>
> Cc: Richard Fontana <rfontana@redhat.com>
> Cc: Pali Rohár <pali@kernel.org>
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
> ---
>   fs/udf/udftime.c | 18 ++----------------
>   1 file changed, 2 insertions(+), 16 deletions(-)
>
> diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c
> index fce4ad976c8c29..758163af39c262 100644
> --- a/fs/udf/udftime.c
> +++ b/fs/udf/udftime.c
> @@ -1,21 +1,7 @@
> +// SPDX-License-Identifier: LGPL-2.0+
>   /* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
>      This file is part of the GNU C Library.
> -   Contributed by Paul Eggert (eggert@twinsun.com).
> -
> -   The GNU C Library is free software; you can redistribute it and/or
> -   modify it under the terms of the GNU Library General Public License as
> -   published by the Free Software Foundation; either version 2 of the
> -   License, or (at your option) any later version.
> -
> -   The GNU C 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
> -   Library General Public License for more details.
> -
> -   You should have received a copy of the GNU Library General Public
> -   License along with the GNU C Library; see the file COPYING.LIB.  If not,
> -   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> -   Boston, MA 02111-1307, USA.  */
> +   Contributed by Paul Eggert (eggert@twinsun.com). */
>   
>   /*
>    * dgb 10/02/98: ripped this from glibc source to help convert timestamps
Reviewed-by: Jilayne Lovejoy opensource@jilayne.com
  
Bagas Sanjaya May 24, 2023, 1:04 a.m. UTC | #2
On 5/24/23 00:56, J Lovejoy wrote:
> 
> 
> On 5/21/23 6:54 PM, Bagas Sanjaya wrote:
>> Replace license boilerplate in udftime.c with SPDX identifier for
>> LGPL-2.0.
>>
>> Cc: Paul Eggert <eggert@twinsun.com>
>> Cc: Richard Fontana <rfontana@redhat.com>
>> Cc: Pali Rohár <pali@kernel.org>
>> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
>> ---
>>   fs/udf/udftime.c | 18 ++----------------
>>   1 file changed, 2 insertions(+), 16 deletions(-)
>>
>> diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c
>> index fce4ad976c8c29..758163af39c262 100644
>> --- a/fs/udf/udftime.c
>> +++ b/fs/udf/udftime.c
>> @@ -1,21 +1,7 @@
>> +// SPDX-License-Identifier: LGPL-2.0+
>>   /* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
>>      This file is part of the GNU C Library.
>> -   Contributed by Paul Eggert (eggert@twinsun.com).
>> -
>> -   The GNU C Library is free software; you can redistribute it and/or
>> -   modify it under the terms of the GNU Library General Public License as
>> -   published by the Free Software Foundation; either version 2 of the
>> -   License, or (at your option) any later version.
>> -
>> -   The GNU C 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
>> -   Library General Public License for more details.
>> -
>> -   You should have received a copy of the GNU Library General Public
>> -   License along with the GNU C Library; see the file COPYING.LIB.  If not,
>> -   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
>> -   Boston, MA 02111-1307, USA.  */
>> +   Contributed by Paul Eggert (eggert@twinsun.com). */
>>     /*
>>    * dgb 10/02/98: ripped this from glibc source to help convert timestamps
> Reviewed-by: Jilayne Lovejoy opensource@jilayne.com

OK, thanks!
  

Patch

diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c
index fce4ad976c8c29..758163af39c262 100644
--- a/fs/udf/udftime.c
+++ b/fs/udf/udftime.c
@@ -1,21 +1,7 @@ 
+// SPDX-License-Identifier: LGPL-2.0+
 /* Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Paul Eggert (eggert@twinsun.com).
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public License as
-   published by the Free Software Foundation; either version 2 of the
-   License, or (at your option) any later version.
-
-   The GNU C 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
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public
-   License along with the GNU C Library; see the file COPYING.LIB.  If not,
-   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Contributed by Paul Eggert (eggert@twinsun.com). */
 
 /*
  * dgb 10/02/98: ripped this from glibc source to help convert timestamps