summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-14 18:28:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-14 18:28:31 +0000
commita84c1ea219cfec541ccd2cb9ce33a69f9c5559c2 (patch)
tree83e0763e97dc8b91fe02fe12433e63b951a0b683
parent7721e8d878ae41ea11f3efb39754f47108e6b9bf (diff)
downloadgnulib-a84c1ea219cfec541ccd2cb9ce33a69f9c5559c2.tar.gz
* check-module: Add copyright notice.
Output a copyright notice if "--version" is specified. * config/srclistvars.sh: Add copyright notice. * doc/getdate.texi: Update FDL version from 1.1 to 1.2. * doc/quote.texi: Add copyright notice. * lib/TODO: Remove; this belongs only in coreutils. * modules/COPYING: New file. * tests/test-getaddrinfo.c: Add copyright notice. * tests/test-verify.c: Likewise.
-rw-r--r--ChangeLog8
-rwxr-xr-xcheck-module29
-rw-r--r--config/ChangeLog4
-rw-r--r--config/srclistvars.sh20
-rw-r--r--doc/ChangeLog3
-rw-r--r--doc/getdate.texi2
-rw-r--r--doc/quote.texi9
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/TODO32
-rw-r--r--modules/COPYING8
-rw-r--r--tests/test-getaddrinfo.c20
-rw-r--r--tests/test-verify.c20
12 files changed, 123 insertions, 36 deletions
diff --git a/ChangeLog b/ChangeLog
index 1cc84d5e31..882e45539d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * check-module: Add copyright notice. Output a copyright
+ notice if "--version" is specified.
+ * modules/COPYING: New file.
+ * tests/test-getaddrinfo.c: Add copyright notice.
+ * tests/test-verify.c: Likewise.
+
2006-08-11 Eric Blake <ebb9@byu.net>
* users.txt: Sort. Add tar.
diff --git a/check-module b/check-module
index 026e41e10e..e9c1d30bbe 100755
--- a/check-module
+++ b/check-module
@@ -1,4 +1,24 @@
#!/usr/bin/perl -w
+# Check a gnulib module.
+
+# Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+
+# This file 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
+# (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.
+#
+# 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.
+
+
# Read a module description file and derive the set of files
# included directly by any .c or .h file listed in the `Files:' section.
# Take the union of all such sets for any dependent modules.
@@ -21,7 +41,12 @@ use strict;
use Getopt::Long;
#use Coda;
-(my $VERSION = '$Revision: 1.4 $ ') =~ tr/[0-9].//cd;
+my $COPYRIGHT_NOTICE = "Copyright (C) 2006 Free Software Foundation, Inc.\n".
+"This is free software. You may redistribute copies of it under the terms of\n".
+"the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n".
+"There is NO WARRANTY, to the extent permitted by law.\n";
+
+(my $VERSION = '$Revision: 1.5 $ ') =~ tr/[0-9].//cd;
(my $ME = $0) =~ s|.*/||;
use constant ST_INIT => 1;
@@ -237,7 +262,7 @@ sub check_module ($)
GetOptions
(
help => sub { usage 0 },
- version => sub { print "$ME version $VERSION\n"; exit },
+ version => sub { print "$ME version $VERSION\n$COPYRIGHT_NOTICE"; exit },
) or usage 1;
@ARGV < 1
diff --git a/config/ChangeLog b/config/ChangeLog
index 5fcddae42e..061772b65f 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * srclistvars.sh: Add copyright notice.
+
2006-08-12 Karl Berry <karl@gnu.org>
* srclist.txt (ssize_t.m4, sig_atomic_t.m4, signalblocking.m4):
diff --git a/config/srclistvars.sh b/config/srclistvars.sh
index cd5b8b896a..356e961055 100644
--- a/config/srclistvars.sh
+++ b/config/srclistvars.sh
@@ -1,7 +1,25 @@
-# $Id: srclistvars.sh,v 1.26 2006-08-08 16:15:45 karl Exp $
+# $Id: srclistvars.sh,v 1.27 2006-08-14 18:28:31 eggert Exp $
# Variables for srclist-update and srclist.txt.
# Will change for each user.
+# Copyright (C) 2002, 2003, 2004 2005, 2006 Free Software Foundation,
+# Inc.
+
+# This file 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
+# (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.
+#
+# 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.
+
case $LOGNAME in
jas | eggert)
: ${AUTOCONF=../autoconf}
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 581c8400af..debac61697 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,5 +1,8 @@
2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
+ * getdate.texi: Update FDL version from 1.1 to 1.2.
+ * quote.texi: Add copyright notice.
+
* solaris-versions: Add SunOS 5.10, SunOS 1.x, SunOS 4.0, SunOS
4.0.x, SunOS 4.1.1.1, SunOS 4.1.1_U1, SunOS 4.1.3B. SunOS 4.1.3
was Solaris 1.1A. Remove space before B in Solaris 1.1.1B.
diff --git a/doc/getdate.texi b/doc/getdate.texi
index 919c2990d4..eae4526b48 100644
--- a/doc/getdate.texi
+++ b/doc/getdate.texi
@@ -4,7 +4,7 @@
@c 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@c Permission is granted to copy, distribute and/or modify this document
-@c under the terms of the GNU Free Documentation License, Version 1.1 or
+@c under the terms of the GNU Free Documentation License, Version 1.2 or
@c any later version published by the Free Software Foundation; with no
@c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
@c Texts. A copy of the license is included in the ``GNU Free
diff --git a/doc/quote.texi b/doc/quote.texi
index db9698498c..e90f6d3484 100644
--- a/doc/quote.texi
+++ b/doc/quote.texi
@@ -1,6 +1,15 @@
@node Quoting
@section Quoting
+@c Copyright (C) 2005 Free Software Foundation, Inc.
+
+@c Permission is granted to copy, distribute and/or modify this document
+@c under the terms of the GNU Free Documentation License, Version 1.2 or
+@c any later version published by the Free Software Foundation; with no
+@c Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
+@c Texts. A copy of the license is included in the ``GNU Free
+@c Documentation License'' file as part of this distribution.
+
@cindex Quoting
@findex quote
@findex quotearg
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 05131b0b78..32cd767598 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * TODO: Remove; this belongs only in coreutils.
+
2006-08-14 Eric Blake <ebb9@byu.net>
Import the following change from libc:
diff --git a/lib/TODO b/lib/TODO
deleted file mode 100644
index 4b3fe850e5..0000000000
--- a/lib/TODO
+++ /dev/null
@@ -1,32 +0,0 @@
-Things to do to hash.c:
-
-Always use curly braces around statements in if/else/while/do/etc.
-that span more than a line -- even around multiline simple statements
-or single-line simple statements preceded by a comment line.
-
-Never have lines longer than 80 chars.
-
-Remove ^L characters. We don't want/need such crutches.
-Get a good (smart) pagination filter. I have one (a perl script)
-that usually does a decent job for me -- I called it something
-like stdc-print and think I sent you an early verison.
-
-I don't like the name `cursor'. I much prefer short names
-like `p' for index variables. I doubt I'll change all of them,
-but thought you should know why some will probably end up changing.
-
-#define USE_OBSTACK somewhere
-
-Fix this comment. Depending on system and application...
-Mention fragmentation.
- +#if USE_OBSTACK
- + /* Whenever obstacks are used, it is possible to allocate all overflowed
- + entries into a single stack, so they all can be freed in a single
- + operation. It is not clear if the speedup is worth the trouble. */
- + struct obstack entry_stack;
- +#endif
-
-
-assert (bucket_limit - bucket == n_buckets) ?
-
-remove.c: s/done/successful or ok
diff --git a/modules/COPYING b/modules/COPYING
new file mode 100644
index 0000000000..68a56d765d
--- /dev/null
+++ b/modules/COPYING
@@ -0,0 +1,8 @@
+The files in this directory describe the gnulib modules.
+The following copyright notice applies to each of these
+description files.
+
+Copyright (C) 2006 Free Software Foundation, Inc.
+This file is free software; the Free Software Foundation
+gives unlimited permission to copy and/or distribute it,
+with or without modifications, as long as this notice is preserved.
diff --git a/tests/test-getaddrinfo.c b/tests/test-getaddrinfo.c
index 43c349afe5..9f42fff2b5 100644
--- a/tests/test-getaddrinfo.c
+++ b/tests/test-getaddrinfo.c
@@ -1,3 +1,23 @@
+/* Test the getaddrinfo module.
+
+ Copyright (C) 2006 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)
+ 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.
+
+ 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. */
+
+/* Written by Simon Josefsson. */
+
#include "config.h"
#include "getaddrinfo.h"
#include "inet_ntop.h"
diff --git a/tests/test-verify.c b/tests/test-verify.c
index 2d3634c80f..ee84c0b952 100644
--- a/tests/test-verify.c
+++ b/tests/test-verify.c
@@ -1,3 +1,23 @@
+/* Test the "verify" module.
+
+ Copyright (C) 2005 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)
+ 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.
+
+ 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. */
+
+/* Written by Bruno Haible. */
+
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif