Просмотр исходного кода

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

Paul Eggert 26 лет назад
Родитель
Сommit
6a8c91fef3
1 измененных файлов с 1 добавлено и 1 удалено
  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;