]> Dogcows Code - chaz/tar/blobdiff - src/incremen.c
Update copyright.
[chaz/tar] / src / incremen.c
index 9a2de4669422dcd2b8bc8f2f46d02ad0d96c1803..c671eef14e737061dd5eaa7556839b40db0ec812 100644 (file)
@@ -1,7 +1,7 @@
 /* GNU dump extensions to tar.
 
    Copyright (C) 1988, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001,
-   2003, 2004 Free Software Foundation, Inc.
+   2003, 2004, 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
@@ -22,9 +22,6 @@
 #include <hash.h>
 #include <quotearg.h>
 #include "common.h"
-#define obstack_chunk_alloc xmalloc
-#define obstack_chunk_free free
-#include <obstack.h>
 
 /* Incremental dump specialities.  */
 
@@ -53,8 +50,8 @@ static Hash_table *directory_table;
 #endif
 
 /* Calculate the hash of a directory.  */
-static unsigned
-hash_directory (void const *entry, unsigned n_buckets)
+static size_t
+hash_directory (void const *entry, size_t n_buckets)
 {
   struct directory const *directory = entry;
   return hash_string (directory->name, n_buckets);
@@ -523,7 +520,7 @@ purge_directory (char const *directory_name)
              stat_diag (p);
              WARN((0, 0, _("%s: Not purging directory: unable to stat"),
                    quotearg_colon (p)));
-             continue; 
+             continue;
            }
          else if (one_file_system_option && st.st_dev != root_device)
            {
@@ -532,7 +529,7 @@ purge_directory (char const *directory_name)
                    quotearg_colon (p)));
              continue;
            }
-           
+
          if (! interactive_option || confirm ("delete", p))
            {
              if (verbose_option)
This page took 0.021291 seconds and 4 git commands to generate.