Error when doing make clean
Status: Alpha
Brought to you by:
earnie
An error occurred when select Build->Make clean.
Actually,
only Build Makefile and Run work. The rest will have similar
error.
Deleting objects...
make -f makefile
clean
process_... DuplicateHandle(In) failed
(e=6)
make Interrupt/Exception caught(code =
0xc0000005, addr = 0x41bf2a)
Abort!
Logged In: NO
Same problem.
Im using WindowsXP.
Logged In: YES
user_id=295543
It seems that make crashes for an obscure reason.
Do you use MinGW or Cygwin.
Maybe, Visual-MinGW's rm.exe is responsable of this problem.
Manu.
Logged In: YES
user_id=295543
Release 0.43-alpha fixes this bug.
Here's a snippet of old buggy code:
[...]
// A pipe for standard input ?
if (Pipes.stdIn[1] != NULL)
si.hStdInput = Pipes.stdIn[1];
else
si.hStdInput = ::GetStdHandle(STD_INPUT_HANDLE);
^^^^^^^^^^^ returns an invalid handle :(
[...]
if ((creationFlag & IN_PIPE) == IN_PIPE){
CreatePipe(&stdIn[1], &stdIn[0], &sa, 0);
SetHandleInformation(stdIn[0], HANDLE_FLAG_INHERIT, 0);
^^^^^^^^^^^^^^^^^ not supported under win9x,
the function silently fail :(
}
Thanks for this bug report,
I will close this item in a few
days.
Manu.