From 7162378126e7c316ea88f2fa199d27bb013c47ec Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 12 May 1993 21:05:03 +0000 Subject: [PATCH] Formerly arscan.c.~31~ --- arscan.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arscan.c b/arscan.c index a6931c6e..7352785e 100644 --- a/arscan.c +++ b/arscan.c @@ -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);