More ts_nse -> tv_nsec changes following the kernel changes I made earlier.
Submitted by: Chuck Robey <chuckr@glue.umd.edu>
This commit is contained in:
parent
08c2c9ddf5
commit
8e2d2ee61c
@ -225,17 +225,17 @@ put_arobj(cfp, sb)
|
||||
name, OLDARMAXNAME, name);
|
||||
(void)fflush(stderr);
|
||||
}
|
||||
(void)sprintf(hb, HDR3, name, sb->st_mtimespec.ts_sec,
|
||||
(void)sprintf(hb, HDR3, name, sb->st_mtimespec.tv_sec,
|
||||
sb->st_uid, sb->st_gid, sb->st_mode, sb->st_size,
|
||||
ARFMAG);
|
||||
lname = 0;
|
||||
} else if (lname > sizeof(hdr->ar_name) || strchr(name, ' '))
|
||||
(void)sprintf(hb, HDR1, AR_EFMT1, lname,
|
||||
sb->st_mtimespec.ts_sec, sb->st_uid, sb->st_gid,
|
||||
sb->st_mtimespec.tv_sec, sb->st_uid, sb->st_gid,
|
||||
sb->st_mode, sb->st_size + lname, ARFMAG);
|
||||
else {
|
||||
lname = 0;
|
||||
(void)sprintf(hb, HDR2, name, sb->st_mtimespec.ts_sec,
|
||||
(void)sprintf(hb, HDR2, name, sb->st_mtimespec.tv_sec,
|
||||
sb->st_uid, sb->st_gid, sb->st_mode, sb->st_size,
|
||||
ARFMAG);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user