1
0
forked from aniani/vim

updated for version 7.1a

This commit is contained in:
Bram Moolenaar
2007-05-06 12:51:41 +00:00
parent a9af0e6a0a
commit 9e1d2839c6
4 changed files with 22 additions and 7 deletions

View File

@@ -1257,4 +1257,3 @@
|| defined(FEAT_BIG)
# define FEAT_AUTOCHDIR
#endif

View File

@@ -1256,9 +1256,11 @@ catch_signals(func_deadly, func_other)
/*
* Handling of SIGHUP, SIGQUIT and SIGTERM:
* "when" == a signal: when busy, postpone, otherwise return TRUE
* "when" == SIGNAL_BLOCK: Going to be busy, block signals
* "when" == SIGNAL_UNBLOCK: Going wait, unblock signals
* "when" == a signal: when busy, postpone and return FALSE, otherwise
* return TRUE
* "when" == SIGNAL_BLOCK: Going to be busy, block signals
* "when" == SIGNAL_UNBLOCK: Going to wait, unblock signals, use postponed
* signal
* Returns TRUE when Vim should exit.
*/
int

View File

@@ -1625,6 +1625,8 @@ find_tags(pat, num_matches, matchesp, flags, mincount, buf_ffname)
eof = tag_fgets(lbuf, LSIZE, fp);
if (!eof && search_info.curr_offset != 0)
{
/* The explicit cast is to work around a bug in gcc 3.4.2
* (repeated below). */
search_info.curr_offset = ftell(fp);
if (search_info.curr_offset == search_info.high_offset)
{