Mercurial > vim
diff src/misc1.c @ 36:125e80798a85 v7.0021
updated for version 7.0021
author | vimboss |
---|---|
date | Thu, 09 Dec 2004 21:34:53 +0000 |
parents | 8ff7fd162d3c |
children | 410fa1a31baf |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -7653,6 +7653,12 @@ get_lisp_indent() void prepare_to_exit() { +#if defined(UNIX) + /* Ignore SIGHUP, because a dropped connection may make Vim exit and then + * get a SIGHUP while exiting, which causes various reentrent problems. */ + signal(SIGHUP, SIG_IGN); +#endif + #ifdef FEAT_GUI if (gui.in_use) {