* child_info.h (~child_info_spawn): Check moreinfo->myself_pinfo for

NULL before closing.
	* spawn.cc (spawn_guts): Don't close moreinfo->myself_pinfo explicitely
	in case of failing CloseProcess.

	* fhandler.cc (fhandler_base::open_): Return EISDIR when trying to
	create a directory.
	* path.cc (path_conv::check): If input path had a trailing dir
	separator, tack it on to the native path if directory doesn't exist.
This commit is contained in:
Corinna Vinschen
2008-03-05 18:31:09 +00:00
parent e3bf57046b
commit 8a889eff57
5 changed files with 23 additions and 5 deletions

View File

@ -599,8 +599,6 @@ loop:
myself->exec_sendsig = NULL;
}
res = -1;
if (moreinfo->myself_pinfo)
CloseHandle (moreinfo->myself_pinfo);
goto out;
}