Module: wine
Branch: master
Commit: 33f047fe56532da6505e309802fc9f99a11657c5
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=33f047fe56532da6505e309…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Sat Sep 9 23:14:26 2006 +0200
kernel: An unavailable address for the PE file can cause ERROR_NOT_ENOUGH_MEMORY too.
---
dlls/kernel/process.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/process.c b/dlls/kernel/process.c
index 9f80411..7e75822 100644
--- a/dlls/kernel/process.c
+++ b/dlls/kernel/process.c
@@ -914,7 +914,9 @@ void __wine_kernel_init(void)
DWORD error = GetLastError();
/* if Win16/DOS format, or unavailable address, exec a new process with the proper setup */
- if (error == ERROR_BAD_EXE_FORMAT || error == ERROR_INVALID_ADDRESS)
+ if (error == ERROR_BAD_EXE_FORMAT ||
+ error == ERROR_INVALID_ADDRESS ||
+ error == ERROR_NOT_ENOUGH_MEMORY)
{
if (!getenv("WINEPRELOADRESERVE")) exec_process( main_exe_name );
/* if we get back here, it failed */
Module: wine
Branch: master
Commit: 050c8942d1b548f4cfc36d7b9b8259be79bdc600
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=050c8942d1b548f4cfc36d7…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Sat Sep 9 11:26:29 2006 +0200
wrc: Allow building without debug support in the parser.
---
tools/wrc/wrc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index 7b71361..fd284aa 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -166,7 +166,7 @@ int char_number = 1; /* The current cha
char *cmdline; /* The entire commandline */
time_t now; /* The time of start of wrc */
-int yy_flex_debug;
+int yydebug, yy_flex_debug;
resource_t *resource_top; /* The top of the parsed resources */