]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- special case with stat64 on alpha
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 16 Jan 2004 12:06:47 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils-alpha-stat.patch -> 1.1

elfutils-alpha-stat.patch [new file with mode: 0644]

diff --git a/elfutils-alpha-stat.patch b/elfutils-alpha-stat.patch
new file mode 100644 (file)
index 0000000..1f0865b
--- /dev/null
@@ -0,0 +1,19 @@
+--- elfutils-0.89/src/strip.c.orig     2003-09-26 06:01:49.000000000 +0000
++++ elfutils-0.89/src/strip.c  2004-01-16 11:58:12.000000000 +0000
+@@ -265,8 +265,16 @@
+       /* If we have to preserve the timestamp, we need it in the
+        format utimes() understands.  */
++#ifndef __alpha__
+       TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
+       TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
++#else
++      /* there is no ns-precition stat on alpha(?) */
++      tv[0].tv_sec = pre_st.st_atime;
++      tv[0].tv_usec = 0;
++      tv[1].tv_sec = pre_st.st_mtime;
++      tv[1].tv_usec = 0;
++#endif
+     }
+   /* Open the file.  */
This page took 0.13852 seconds and 4 git commands to generate.