/[tar]/tar/src/list.c
ViewVC logotype

Diff of /tar/src/list.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by gray, Sun Aug 31 22:40:34 2003 UTC revision 1.53 by gray, Mon Sep 1 17:02:11 2003 UTC
# Line 548  decode_header (union block *header, stru Line 548  decode_header (union block *header, stru
548          }          }
549      }      }
550    
551    if (extended_header.nblocks)    if (extended_header.size)
552      xheader_decode (stat_info);      xheader_decode (stat_info);
553  }  }
554    
# Line 1021  print_header (off_t block_ordinal) Line 1021  print_header (off_t block_ordinal)
1021    
1022        /* User and group names.  */        /* User and group names.  */
1023    
1024        if (*current_header->header.uname && current_format != V7_FORMAT        if (current_stat_info.uname && current_format != V7_FORMAT
1025            && !numeric_owner_option)            && !numeric_owner_option)
1026          user = current_header->header.uname;          user = current_stat_info.uname;
1027        else        else
1028          {          {
1029            /* Try parsing it as an unsigned integer first, and as a            /* Try parsing it as an unsigned integer first, and as a
# Line 1043  print_header (off_t block_ordinal) Line 1043  print_header (off_t block_ordinal)
1043              }              }
1044          }          }
1045    
1046        if (*current_header->header.gname && current_format != V7_FORMAT        if (current_stat_info.gname && current_format != V7_FORMAT
1047            && !numeric_owner_option)            && !numeric_owner_option)
1048          group = current_header->header.gname;          group = current_stat_info.gname;
1049        else        else
1050          {          {
1051            /* Try parsing it as an unsigned integer first, and as a            /* Try parsing it as an unsigned integer first, and as a

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26