[ros-dev] Differences in Windows and Linux builds

hto at mail.cnt.ru hto at mail.cnt.ru
Sat May 12 18:20:58 CEST 2007


Hi,

> - At the boot screen, the version compiled under Windows shows
> "Service Pack  1" correctly, but the version compiled under Linux
> shows "Service Pac 1"

I see this "Service Pac 1" in ReactOS compiled under Windows with GCC 
4.1.2 (from RosBE).

> - The version compiled under Linux hangs at "Flushing cache"
> for me, when I test it under VMware.

There is known stack corruption bug, you can try this patch:

--- base/setup/usetup/filesup.c (revision 26725)
+++ base/setup/usetup/filesup.c (working copy)
@@ -207,7 +207,9 @@
                         FILE_ATTRIBUTE_NORMAL,
                         0,
                         FILE_OVERWRITE_IF,
-                       FILE_NO_INTERMEDIATE_BUFFERING | 
FILE_SEQUENTIAL_ONLY,
+                       FILE_NO_INTERMEDIATE_BUFFERING |
+                       FILE_SEQUENTIAL_ONLY |
+                       FILE_SYNCHRONOUS_IO_NONALERT,
                         NULL,
                         0);
    if(!NT_SUCCESS(Status))

or define IoStatusBlock statically.



More information about the Ros-dev mailing list