X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffile-set.c;h=4103e67f70c1e826be42a45126f31b9008ef377a;hb=a3232e87aa43983f16befedc0b6311ac02aceacb;hp=46dcf5fbb40de4c2d59ce540a52e7f36af1d101c;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/file-set.c b/lib/file-set.c index 46dcf5fbb..4103e67f7 100644 --- a/lib/file-set.c +++ b/lib/file-set.c @@ -1,5 +1,5 @@ /* Specialized functions to manipulate a set of files. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2013 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 @@ -42,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); } } } @@ -59,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;