version 1.11, 2009/10/27 23:59:35 |
version 1.12, 2009/12/13 18:13:28 |
|
|
} else if (lname > sizeof(hdr->ar_name) || strchr(name, ' ')) |
} else if (lname > sizeof(hdr->ar_name) || strchr(name, ' ')) |
(void)snprintf(hb, sizeof hb, |
(void)snprintf(hb, sizeof hb, |
HDR1, AR_EFMT1, lname, |
HDR1, AR_EFMT1, lname, |
(long int)sb->st_mtimespec.tv_sec, uid, gid, sb->st_mode, |
(long int)sb->st_mtimespec.tv_sec, |
sb->st_size + lname, ARFMAG); |
uid, gid, sb->st_mode, sb->st_size + lname, ARFMAG); |
else { |
else { |
lname = 0; |
lname = 0; |
(void)snprintf(hb, sizeof hb, |
(void)snprintf(hb, sizeof hb, |