]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
dumpdir_cmp signature
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 1 Nov 2024 18:16:19 +0000 (11:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Nov 2024 06:47:23 +0000 (23:47 -0700)
* src/compare.c (dumpdir_cmp): Return char, not int.

src/compare.c

index a4a49c4e78c7131801a9e276e9d64ba48e45daff..0a9653a16e2c38435d09d2f3aed1c7a4a69a12c2 100644 (file)
@@ -319,7 +319,9 @@ diff_special (void)
     report_difference (&current_stat_info, _("Mode differs"));
 }
 
-static int
+/* Return zero if and only if A and B should be considered equal.
+   for the purposes of dump directory comparison.  */
+static char
 dumpdir_cmp (const char *a, const char *b)
 {
   while (*a)