On Fri, Jan 15, 2010 at 11:31 PM, Johannes Sixt <j6t@xxxxxxxx> wrote: > On Freitag, 15. Januar 2010, Erik Faye-Lund wrote: >> +int mingw_kill(pid_t pid, int sig) >> +{ >> ... >> + CloseHandle(h); >> + errno = err_win_to_posix(GetLastError()); > > Set errno before CloseHandle() to get the correct error. > > -- Hannes > Thanks for pointing that out. Corrected locally. -- Erik "kusma" Faye-Lund -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html