Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
35:8f3a526c2fe1 | 36:125e80798a85 |
---|---|
7651 #endif /* FEAT_LISP */ | 7651 #endif /* FEAT_LISP */ |
7652 | 7652 |
7653 void | 7653 void |
7654 prepare_to_exit() | 7654 prepare_to_exit() |
7655 { | 7655 { |
7656 #if defined(UNIX) | |
7657 /* Ignore SIGHUP, because a dropped connection may make Vim exit and then | |
7658 * get a SIGHUP while exiting, which causes various reentrent problems. */ | |
7659 signal(SIGHUP, SIG_IGN); | |
7660 #endif | |
7661 | |
7656 #ifdef FEAT_GUI | 7662 #ifdef FEAT_GUI |
7657 if (gui.in_use) | 7663 if (gui.in_use) |
7658 { | 7664 { |
7659 gui.dying = TRUE; | 7665 gui.dying = TRUE; |
7660 out_trash(); /* trash any pending output */ | 7666 out_trash(); /* trash any pending output */ |