maint: update copyright
[gnulib.git] / lib / file-set.c
index aa4816c..c3130d9 100644 (file)
@@ -1,10 +1,10 @@
 /* Specialized functions to manipulate a set of files.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007, 2009-2014 Free Software Foundation, Inc.
 
-   This program is free software; you can redistribute it and/or modify
+   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.
+   the Free Software Foundation; either version 3 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
@@ -12,8 +12,7 @@
    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.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* written by Jim Meyering */
 
@@ -43,15 +42,15 @@ record_file (Hash_table *ht, char const *file, struct stat const *stats)
     struct F_triple *ent_from_table = hash_insert (ht, ent);
     if (ent_from_table == NULL)
       {
-       /* Insertion failed due to lack of memory.  */
-       xalloc_die ();
+        /* Insertion failed due to lack of memory.  */
+        xalloc_die ();
       }
 
     if (ent_from_table != ent)
       {
-       /* There was alread a matching entry in the table, so ENT was
-          not inserted.  Free it.  */
-       triple_free (ent);
+        /* There was alread a matching entry in the table, so ENT was
+           not inserted.  Free it.  */
+        triple_free (ent);
       }
   }
 }
@@ -60,7 +59,7 @@ record_file (Hash_table *ht, char const *file, struct stat const *stats)
    for the file described by FILE and STATS.  */
 bool
 seen_file (Hash_table const *ht, char const *file,
-          struct stat const *stats)
+           struct stat const *stats)
 {
   struct F_triple new_ent;