]>
Commit | Line | Data |
---|---|---|
88ed1b94 JB |
1 | --- elfutils-0.89/src/strip.c.orig 2003-09-26 06:01:49.000000000 +0000 |
2 | +++ elfutils-0.89/src/strip.c 2004-01-16 11:58:12.000000000 +0000 | |
3 | @@ -265,8 +265,16 @@ | |
4 | ||
5 | /* If we have to preserve the timestamp, we need it in the | |
6 | format utimes() understands. */ | |
7 | +#ifndef __alpha__ | |
8 | TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim); | |
9 | TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim); | |
10 | +#else | |
11 | + /* there is no ns-precition stat on alpha(?) */ | |
12 | + tv[0].tv_sec = pre_st.st_atime; | |
13 | + tv[0].tv_usec = 0; | |
14 | + tv[1].tv_sec = pre_st.st_mtime; | |
15 | + tv[1].tv_usec = 0; | |
16 | +#endif | |
17 | } | |
18 | ||
19 | /* Open the file. */ |