Explorar o código

(extract_archive): Test whether S_IFCHR and S_IFBLK are nonzero,
not whether they are defined, for consistency with other tests.

Paul Eggert %!s(int64=26) %!d(string=hai) anos
pai
achega
6a8c91fef3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/extract.c

+ 1 - 1
src/extract.c

@@ -784,7 +784,7 @@ Attempting extraction of symbolic links as hard links")));
       current_stat.st_mode |= S_IFBLK;
 #endif
 
-#if defined(S_IFCHR) || defined(S_IFBLK)
+#if S_IFCHR || S_IFBLK
     make_node:
       if (to_stdout_option)
 	break;