Re: advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.

2013-03-27 Thread Alexandre Julliard
Alexander Morozov writes: > @@ -592,7 +586,26 @@ BOOL WINAPI StartServiceCtrlDispatcherA( const > SERVICE_TABLE_ENTRYA *servent ) > services[i] = info; > } > > -service_run_main_thread(); > +disp = HeapAlloc( GetProcessHeap(), 0, sizeof(*disp) ); > + > +if (!(disp->ma

Re: [2/2] advapi32: Do not terminate a regular program if it calls StartServiceCtrlDispatcher.

2012-04-04 Thread Alexandre Julliard
Alexander Morozov writes: > This patch partially fixes #30290. > > Pipe is renamed to spipe (service pipe) to prevent compilation error: > service.c:88:15: error: ‘pipe’ redeclared as different kind of symbol > /usr/include/unistd.h:414:12: note: previous declaration of ‘pipe’ was > here You sho