From: Paul Eggert Date: Tue, 20 Jul 1999 07:09:27 +0000 (+0000) Subject: Remove S_IS* ifdefs. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=52eb0695e8117dc6a03ea53f02cb8867c34e70e6;p=chaz%2Ftar Remove S_IS* ifdefs. --- diff --git a/src/list.c b/src/list.c index c58eae4..0c1e886 100644 --- a/src/list.c +++ b/src/list.c @@ -507,21 +507,17 @@ decode_header (union block *header, struct stat *stat_info, } switch (header->header.typeflag) { -#ifdef S_ISBLK case BLKTYPE: stat_info->st_rdev = makedev (MAJOR_FROM_OCT (header->header.devmajor), MINOR_FROM_OCT (header->header.devminor)); break; -#endif -#ifdef S_ISCHR case CHRTYPE: stat_info->st_rdev = makedev (MAJOR_FROM_OCT (header->header.devmajor), MINOR_FROM_OCT (header->header.devminor)); break; -#endif default: stat_info->st_rdev = 0; @@ -874,14 +870,12 @@ print_header (void) switch (current_header->header.typeflag) { -#if defined S_ISBLK || defined S_ISCHR case CHRTYPE: case BLKTYPE: sprintf (size, "%lu,%lu", (unsigned long) major (current_stat.st_rdev), (unsigned long) minor (current_stat.st_rdev)); break; -#endif case GNUTYPE_SPARSE: strcpy (size, STRINGIFY_BIGINT