[M3commit] AMD64_DARWIN struct_timeval
Jay K
jay.krell at cornell.edu
Wed Apr 21 16:42:08 CEST 2010
jbook2:darwin-common jay$ cvs -z3 diff -u Usysdep.i3
Index: Usysdep.i3
===================================================================
RCS file: /usr/cvs/cm3/m3-libs/m3core/src/unix/darwin-common/Attic/Usysdep.i3,v
retrieving revision 1.13.2.1
diff -u -r1.13.2.1 Usysdep.i3
--- Usysdep.i3 21 Dec 2009 04:51:06 -0000 1.13.2.1
+++ Usysdep.i3 21 Apr 2010 14:38:58 -0000
@@ -24,7 +24,8 @@
struct_timeval = RECORD
tv_sec: INTEGER;
- tv_usec: INTEGER;
+ tv_usec: int;
+ (* 4 bytes of padding here on 64bit *)
END;
Olaf please consider moving the tag forward for this file, thanks.
- Jay
----------------------------------------
> Date: Wed, 21 Apr 2010 16:39:45 +0000
> To: m3commit at elegosoft.com
> From: jkrell at elego.de
> Subject: [M3commit] CVS Update: cm3
>
> CVSROOT: /usr/cvs
> Changes by: jkrell at birch. 10/04/21 16:39:45
>
> Modified files:
> cm3/m3-libs/m3core/src/unix/darwin-common/: Tag:
> release_branch_cm3_5_8
> Usysdep.i3
>
> Log message:
> fix for 64bit Darwin (AMD64_DARWIN, PPC64_DARWIN, though
> PPC64_DARWIN has other problems in the release branch)
>
> Note that head went through a period with safer copying wrappers
> and now pushes C up a level to end up generally removing code,
> and all the Usysdep.i3 files are gone now, in head.
>
> This form of the fix was chosen for its focus on specific broken targets.
> It is in a Darwin specific file and changing INTEGER to int doesn't
> affect 32bit targets.
>
More information about the M3commit
mailing list