소스 검색

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

Paul Eggert 26 년 전
부모
커밋
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;