diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-06 12:51:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-06 12:51:41 +0000 |
commit | 9e1d2839c64536528c10d2ffc0e744b1e3a4bdcb (patch) | |
tree | d2fc32779546d337b734f7fffde8a5eee4c32f69 /src | |
parent | a9af0e6a0aaa3bb91f942be98c1086dd25412e48 (diff) | |
download | vim-git-9e1d2839c64536528c10d2ffc0e744b1e3a4bdcb.tar.gz |
updated for version 7.1a
Diffstat (limited to 'src')
-rw-r--r-- | src/feature.h | 1 | ||||
-rw-r--r-- | src/os_unix.c | 8 | ||||
-rw-r--r-- | src/tag.c | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/feature.h b/src/feature.h index 9e99b91a4..00dd014b8 100644 --- a/src/feature.h +++ b/src/feature.h @@ -1257,4 +1257,3 @@ || defined(FEAT_BIG) # define FEAT_AUTOCHDIR #endif - diff --git a/src/os_unix.c b/src/os_unix.c index a18845291..beeea3f9c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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 @@ -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) { |