Also use cleanup_exit() in preference to exit() so that MacTCP gets shut down
even on unclean exits.
git-svn-id: svn://svn.tartarus.org/sgt/putty@2560
cda61777-01e9-0310-a592-
d414129be87e
-/* $Id: mac.c,v 1.25 2003/01/11 23:33:57 ben Exp $ */
+/* $Id: mac.c,v 1.26 2003/01/12 14:45:33 ben Exp $ */
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
mac_event(&event);
if (mac_gestalts.mtcpvers != 0)
mactcp_poll();
mac_event(&event);
if (mac_gestalts.mtcpvers != 0)
mactcp_poll();
+ if (mac_gestalts.otptattr != 0)
+ ot_poll();
mac_pollterm();
}
DisposeRgn(cursrgn);
mac_pollterm();
}
DisposeRgn(cursrgn);
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
}
void modalfatalbox(char *fmt, ...) {
}
void modalfatalbox(char *fmt, ...) {
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
}
/* This should only kill the current session, not the whole application. */
}
/* This should only kill the current session, not the whole application. */
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
va_end(ap);
ParamText(stuff, NULL, NULL, NULL);
StopAlert(128, NULL);
}
/* Null SSH agent client -- never finds an agent. */
}
/* Null SSH agent client -- never finds an agent. */