]> Dogcows Code - chaz/tar/commitdiff
(extract_archive): Test whether S_IFCHR and S_IFBLK are nonzero,
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Jul 1999 13:03:58 +0000 (13:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Jul 1999 13:03:58 +0000 (13:03 +0000)
not whether they are defined, for consistency with other tests.

src/extract.c

index 8d6944e274de9820cf012f639013e0f027e1404b..ffb4c33311c097728739cddef7c8bc425d28e305 100644 (file)
@@ -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;
This page took 0.025343 seconds and 4 git commands to generate.