[PATCH v3 08/11] ntoskrnl.exe: Export and set PsInitialSystemProcess.

Derek Lesho dereklesho52 at gmail.com
Thu Apr 11 14:48:07 CDT 2019


Ah, I did not know that, thanks.

On Thu, Apr 11, 2019 at 3:45 PM Jacek Caban <jacek at codeweavers.com> wrote:

> On 4/11/19 8:27 PM, Derek Lesho wrote:
> > diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
> > index 11dd41f90e..625878d8dd 100644
> > --- a/dlls/ntoskrnl.exe/ntoskrnl.c
> > +++ b/dlls/ntoskrnl.exe/ntoskrnl.c
> > @@ -91,7 +91,7 @@ static const WCHAR servicesW[] =
> {'\\','R','e','g','i','s','t','r','y',
> >   #define MAX_SERVICE_NAME 260
> >
> >   /* tid of the thread running client request */
> > -static DWORD request_thread;
> > +static DWORD request_thread = 0;
>
>
> There is no need for that, static variables are zeroed anyway.
>
>
> Jacek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190411/aed314e7/attachment.html>


More information about the wine-devel mailing list