[M3commit] AMD64_DARWIN struct_timeval

Olaf Wagner wagner at elegosoft.com
Wed Apr 21 17:08:12 CEST 2010


Quoting Jay K <jay.krell at cornell.edu>:

> 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.

Will do tonight; should be no problem.

Olaf

>
>  - 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.
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3commit mailing list