diff options
author | Roland McGrath <roland@redhat.com> | 1993-05-12 21:05:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1993-05-12 21:05:03 +0000 |
commit | 7162378126e7c316ea88f2fa199d27bb013c47ec (patch) | |
tree | ee297a942fe307eefa60228e5af2d8ae54508fea | |
parent | 534926ac7a327eefa74de83bd6cd12c613aa862c (diff) | |
download | gunmake-7162378126e7c316ea88f2fa199d27bb013c47ec.tar.gz |
Formerly arscan.c.~31~
-rw-r--r-- | arscan.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -82,9 +82,10 @@ ar_scan (archive, function, arg) { #ifdef AIAMAG FL_HDR fl_header; +#else + int long_name = 0; #endif char *namemap = 0; - int long_name = 0; register int desc = open (archive, O_RDONLY, 0); if (desc < 0) return -1; @@ -191,8 +192,6 @@ ar_scan (archive, function, arg) name[name_len] = 0; - long_name = 1; - sscanf (member_header.ar_date, "%12ld", &dateval); sscanf (member_header.ar_uid, "%12d", &uidval); sscanf (member_header.ar_gid, "%12d", &gidval); @@ -203,7 +202,8 @@ ar_scan (archive, function, arg) ++data_offset; fnval = - (*function) (desc, name, member_offset, data_offset, eltsize, + (*function) (desc, name, 0, + member_offset, data_offset, eltsize, dateval, uidval, gidval, eltmode, arg); |