2006-08-18 Farid Zaripov <faridz@kyiv.vdiweb.com>
2006-08-18 Farid Zaripov <faridz@kyiv.vdiweb.com>

	* exec.cpp [_WIN32 || _WIN64] (warn_last_error): When
	FORMAT_MESSAGE_ALLOCATE_BUFFER is used then lpBuffer must point
	to the place where pointer to the allocated buffer is stored.
	(exec_file): Added wait after sending Ctrl+Break signal. Added
	wait after TerminateProcess(). Closed handles of child process.


git-svn-id: 1e8a4076bc3774682289f662a06025447996ff23@432693 13f79535-47bb-0310-9956-ffa450edef68

pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx