mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Merge GSSAPI and cmake fixes from 'pre-0.78'.
This commit is contained in:
@ -140,6 +140,7 @@ struct ssh_gss_liblist *ssh_gss_setup(Conf *conf)
|
||||
list->libraries = snew(struct ssh_gss_library);
|
||||
list->nlibraries = 1;
|
||||
|
||||
list->libraries[0].id = 0;
|
||||
list->libraries[0].gsslogmsg = "Using statically linked GSSAPI";
|
||||
|
||||
#define BIND_GSS_FN(name) \
|
||||
|
@ -330,7 +330,11 @@ void pageant_fork_and_print_env(bool retain_tty)
|
||||
/* Get out of our previous process group, to avoid being
|
||||
* blasted by passing signals. But keep our controlling tty,
|
||||
* so we can keep checking to see if we still have one. */
|
||||
#if defined HAVE_NULLARY_SETPGRP
|
||||
setpgrp();
|
||||
#elif defined HAVE_BINARY_SETPGRP
|
||||
setpgrp(0, 0);
|
||||
#endif
|
||||
} else {
|
||||
/* Do that, but also leave our entire session and detach from
|
||||
* the controlling tty (if any). */
|
||||
|
Reference in New Issue
Block a user