|
Lines 271-278
Link Here
|
| 271 |
format utimes() understands. */ |
271 |
format utimes() understands. */ |
| 272 |
struct timeval tv[2]; |
272 |
struct timeval tv[2]; |
| 273 |
|
273 |
|
|
|
274 |
/* |
| 274 |
TIMESPEC_TO_TIMEVAL (&tv[0], &st.st_atim); |
275 |
TIMESPEC_TO_TIMEVAL (&tv[0], &st.st_atim); |
| 275 |
TIMESPEC_TO_TIMEVAL (&tv[1], &st.st_mtim); |
276 |
TIMESPEC_TO_TIMEVAL (&tv[1], &st.st_mtim); |
|
|
277 |
*/ |
| 278 |
|
| 279 |
tv[0].tv_sec = st.st_atime; |
| 280 |
tv[0].tv_usec = 0; |
| 281 |
tv[1].tv_sec = st.st_mtime; |
| 282 |
tv[1].tv_usec = 0; |
| 276 |
|
283 |
|
| 277 |
int result = handle_elf (fd, elf, NULL, fname, |
284 |
int result = handle_elf (fd, elf, NULL, fname, |
| 278 |
st.st_mode & ACCESSPERMS, |
285 |
st.st_mode & ACCESSPERMS, |