[ros-dev] Differences in Windows and Linux builds
mail at colinfinck.de
Sun May 13 22:34:06 CEST 2007
This bug is fixed now in r26764.
The line 'CsdString.Length -= sizeof(UNICODE_NULL);' was used to remove the
new line at the end of the message.
But on Windows, the compiled message table had a "\r\n" as the newline
character and on Linux it was just "\n". So the "Service Pack" string was
chopped on Linux builds.
This is mainly a problem in wmc, which should compile the same line ending
into the message table on different platforms.
But the changes of r26764 also work around this problem in the kernel.
> -----Original Message-----
> From: ros-dev-bounces at reactos.org
> [mailto:ros-dev-bounces at reactos.org] On Behalf Of hto at mail.cnt.ru
> Sent: Sunday, May 13, 2007 9:17 PM
> To: ros-dev at reactos.org
> Subject: Re: [ros-dev] Differences in Windows and Linux builds
> >> - 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).
> In ExpInitializeExecutive():
> ANSI_STRING CsdString;
> RtlInitAnsiString(&CsdString, MsgEntry->Text);
> CsdString.Length -= sizeof(UNICODE_NULL);
> Why Unicode?
> Ros-dev mailing list
> Ros-dev at reactos.org
More information about the Ros-dev