[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [Darwine] compiling wine on Darwin/MacOS X 4/10
From: emmanuel maillard <e.rsz () libertysurf ! fr>
Date: 2004-04-28 18:11:11
Message-ID: 6E169659-993F-11D8-989B-003065DA53F0 () libertysurf ! fr
[Download RAW message or body]
Hi,
This patch will replace the previous one.
It fix the stack corruption problem, so exceptions are correctly handle.
Changelog :
Add darwin/ppc support in THREAD_InitStack
emmanuel
["kernel_heap.diff" (kernel_heap.diff)]
Index: dlls/kernel/heap.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/heap.c,v
retrieving revision 1.5
diff -u -r1.5 heap.c
--- dlls/kernel/heap.c 9 Jan 2004 22:18:50 -0000 1.5
+++ dlls/kernel/heap.c 16 Apr 2004 16:05:23 -0000
@@ -1052,7 +1052,7 @@
#ifdef linux
FILE *f;
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
int *tmp;
int size_sys;
int mib[2] = { CTL_HW };
@@ -1117,7 +1117,7 @@
/ (TotalPhysical / 100);
}
}
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
mib[1] = HW_PHYSMEM;
sysctl(mib, 2, NULL, &size_sys, NULL, 0);
tmp = malloc(size_sys * sizeof(int));
Le 16 avr. 04, à 10:13, Pierre d'Herbemont a écrit :
> Emmanuel,
>
> I know that I did this hack, but it is not really a good one. Since it
> corrupts the stack (you get a stack frame error at every signal
> caught).
> So this issue would need to be a bit more investigated. But it is
> required for now, without it you can't launch an App.
>
> Pierre
>
> PS: its good to see that someone takes time to send those patches and
> work ;) So thanks for that.
>
> On 15 avr. 04, at 23:36, emmanuel maillard wrote:
>
>> Hi,
>>
>> an other patch for darwin/ppc
>>
>> changelog
>> Add darwin/ppc support in THREAD_InitStack
>>
>> emmanuel
>>
>> <kernel_thread.diff>
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic