]> Dogcows Code - chaz/tar/blobdiff - src/misc.c
* src/compare.c (diff_dumpdir): Omit useless 'stat'.
[chaz/tar] / src / misc.c
index 3add37188903ff2d0f194b81ec8c8ce8c3ceed8c..734dc4eded7adcac4f7a29d84111a0d49306cfb4 100644 (file)
@@ -105,7 +105,7 @@ quote_copy_string (const char *string)
    completes the unquoting anyway.
 
    This is used for reading the saved directory file in incremental
-   dumps.  It is used for decoding old `N' records (demangling names).
+   dumps.  It is used for decoding old 'N' records (demangling names).
    But also, it is used for decoding file arguments, would they come
    from the shell or a -T file, and for decoding the --exclude
    argument.  */
@@ -713,7 +713,7 @@ static int wdcache[CHDIR_CACHE_SIZE];
 static size_t wdcache_count;
 
 int
-chdir_count ()
+chdir_count (void)
 {
   if (wd_count == 0)
     return wd_count;
@@ -814,11 +814,11 @@ chdir_do (int i)
          int prev = wdcache[0];
          for (ci = 1; prev != i; ci++)
            {
-             int curr = wdcache[ci];
+             int cur = wdcache[ci];
              wdcache[ci] = prev;
-             if (curr == i)
+             if (cur == i)
                break;
-             prev = curr;
+             prev = cur;
            }
          wdcache[0] = i;
        }
@@ -962,7 +962,7 @@ page_aligned_alloc (void **ptr, size_t size)
 
 struct namebuf
 {
-  char *buffer;                /* directory, `/', and directory member */
+  char *buffer;                /* directory, '/', and directory member */
   size_t buffer_size;  /* allocated size of name_buffer */
   size_t dir_length;   /* length of directory part in buffer */
 };
This page took 0.021263 seconds and 4 git commands to generate.