# HG changeset patch # User Paul Eggert # Date 1155580111 0 # Node ID 0ec466622052d3252eaa800e5c04c304f6ab3d6f # Parent b3c0f2a133988a17efa3aa8f39b5a8cccee5a1a6 * 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-08-14 Paul Eggert + + * 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 * users.txt: Sort. Add tar. diff --git a/check-module b/check-module --- 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 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 .\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 @@ 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 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2006-08-14 Paul Eggert + + * srclistvars.sh: Add copyright notice. + 2006-08-12 Karl Berry * srclist.txt (ssize_t.m4, sig_atomic_t.m4, signalblocking.m4): diff --git a/config/srclistvars.sh b/config/srclistvars.sh --- 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 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,8 @@ 2006-08-14 Paul Eggert + * 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 --- 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 --- 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 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-08-14 Paul Eggert + + * TODO: Remove; this belongs only in coreutils. + 2006-08-14 Eric Blake Import the following change from libc: diff --git a/lib/TODO b/lib/TODO deleted file mode 100644 --- 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 --- /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 --- 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 --- 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 #endif