diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-11-23 09:09:55 -0500 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-11-23 09:09:55 -0500 |
commit | b61c5d63ec2b8c161b7d13c5e89f038f1f9ef286 (patch) | |
tree | a54857d11da3ad28a859cb1b3da80b3b45645cec | |
parent | 297cf6bc67417e3747c081efb805b4bdcbe726eb (diff) | |
download | gawk-b61c5d63ec2b8c161b7d13c5e89f038f1f9ef286.tar.gz |
Start updating files to GPL 3 that weren't.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | missing_d/ChangeLog | 6 | ||||
-rw-r--r-- | missing_d/strerror.c | 7 | ||||
-rw-r--r-- | missing_d/system.c | 5 | ||||
-rw-r--r-- | msg.c | 4 | ||||
-rw-r--r-- | posix/ChangeLog | 5 | ||||
-rw-r--r-- | posix/gawkmisc.c | 2 |
7 files changed, 24 insertions, 10 deletions
@@ -1,3 +1,8 @@ +2022-11-23 Arnold D. Robbins <arnold@skeeve.com> + + * msg.c: Update to GPL 3. Thanks to Corinna Vinschen for + noticing the GPL version issue. + 2022-11-17 Arnold D. Robbins <arnold@skeeve.com> * 5.2.1: Release tar ball made. diff --git a/missing_d/ChangeLog b/missing_d/ChangeLog index 68e0c2a7..dfca7eec 100644 --- a/missing_d/ChangeLog +++ b/missing_d/ChangeLog @@ -1,3 +1,9 @@ +2022-11-23 Arnold D. Robbins <arnold@skeeve.com> + + * strerror.c, system.c: Update to GPL 3. Move code to ISO C + style function definitions. Thanks to Corinna Vinschen for + noticing the GPL version issue. + 2022-11-17 Arnold D. Robbins <arnold@skeeve.com> * 5.2.1: Release tar ball made. diff --git a/missing_d/strerror.c b/missing_d/strerror.c index f3e8c28c..6b7e71e2 100644 --- a/missing_d/strerror.c +++ b/missing_d/strerror.c @@ -1,10 +1,10 @@ /* strerror.c --- ANSI C compatible system error routine - Copyright (C) 1986, 1988, 1989, 1991 the Free Software Foundation, Inc. + Copyright (C) 1986, 1988, 1989, 1991, 2022 the Free Software Foundation, Inc. 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, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, @@ -24,8 +24,7 @@ extern int sys_nerr; extern char *sys_errlist[]; char * -strerror(n) -int n; +strerror(int n) { static char mesg[30]; diff --git a/missing_d/system.c b/missing_d/system.c index 7d1a4ee4..6cccdf00 100644 --- a/missing_d/system.c +++ b/missing_d/system.c @@ -1,6 +1,6 @@ /* system.c --- replacement system() for systems missing one - Copyright (C) 1986, 1988, 1989, 1991 the Free Software Foundation, Inc. + Copyright (C) 1986, 1988, 1989, 1991, 2022 the Free Software Foundation, Inc. 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 @@ -19,8 +19,7 @@ extern void fatal(); int -system(s) -char *s; +system(const char *s) { fatal("system() not supported on this system"); return 0; @@ -4,7 +4,7 @@ /* * Copyright (C) 1986, 1988, 1989, 1991-2001, 2003, 2010-2013, 2017-2019, - * 2021, + * 2021, 2022 * the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the @@ -12,7 +12,7 @@ * * GAWK 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, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GAWK is distributed in the hope that it will be useful, diff --git a/posix/ChangeLog b/posix/ChangeLog index 024109f7..7934a7a0 100644 --- a/posix/ChangeLog +++ b/posix/ChangeLog @@ -1,3 +1,8 @@ +2022-11-23 Arnold D. Robbins <arnold@skeeve.com> + + * gawkmisc.c: Update to GPL 3. Thanks to Corinna Vinschen for + noticing the GPL version issue. + 2022-11-17 Arnold D. Robbins <arnold@skeeve.com> * 5.2.1: Release tar ball made. diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index 0962c6c5..f14264f7 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -5,7 +5,7 @@ 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, or (at your option) + the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, |