Re: Visual studio 6 build fix.

2004-12-14 Thread Rein Klazes
On Sun, 12 Dec 2004 14:02:54 +0100, you wrote: > > Is this one acceptable? > > > > If there is still a problem, then I need more hints to what is needed. > the only part which is questionnable is as follows: > - what happens (in your case) if the child (after being run through all the > init) ca

Re: Visual studio 6 build fix.

2004-12-12 Thread Rein Klazes
On Sun, 12 Dec 2004 14:02:54 +0100, you wrote: > > Is this one acceptable? > > > > If there is still a problem, then I need more hints to what is needed. > the only part which is questionnable is as follows: > - what happens (in your case) if the child (after being run through all the > init) ca

Re: Visual studio 6 build fix.

2004-12-12 Thread Eric Pouech
Is this one acceptable? If there is still a problem, then I need more hints to what is needed. the only part which is questionnable is as follows: - what happens (in your case) if the child (after being run through all the init) calls FreeConsole and then AllocConsole? - I don't know the answer. T

Re: Visual studio 6 build fix.

2004-12-12 Thread Rein Klazes
On 10 Dec 2004 15:14:30 +0100, you wrote: > Rein Klazes <[EMAIL PROTECTED]> writes: > > > @@ -210,7 +212,12 @@ static int set_process_console( struct p > > if (process->create_flags & CREATE_NEW_CONSOLE) > > { > > /* let the process init do the allocation */ > > -return

Re: Visual studio 6 build fix.

2004-12-10 Thread Alexandre Julliard
Rein Klazes <[EMAIL PROTECTED]> writes: > @@ -210,7 +212,12 @@ static int set_process_console( struct p > if (process->create_flags & CREATE_NEW_CONSOLE) > { > /* let the process init do the allocation */ > -return 1; > +/* unless the startup info specifies to us

Re: Visual studio 6 build fix.

2004-12-09 Thread Juan Lang
> MS Visual C++ v6, when invoking the compiler and other build tools does > the following: > > create anonymous pipe; > duplicate the pipes write handle; > open's the file NUL > The attached patch makes this work properly. Ahh, cool, that might help with MinGW's windres.exe, too. It uses _pop

Visual studio 6 build fix.

2004-12-09 Thread Rein Klazes
Hi, MS Visual C++ v6, when invoking the compiler and other build tools does the following: create anonymous pipe; duplicate the pipes write handle; open's the file NUL calls CreateProcess starting vcspawn.exe with: startup info iohandles set to the 3 handles obtained above; the start