diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-02 16:53:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-02 16:53:13 +0100 |
commit | a72514945bc3edd4fc4d745004e37c5d5487c98d (patch) | |
tree | 8be6f3c985e10ae5c3741e5af54beab49a54648b /src | |
parent | 7e6a515ed14e204fafb3dd6e98f2fb543e64aedd (diff) |
patch 8.2.2276: list of distributed files is outdatedv8.2.2276
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
Diffstat (limited to 'src')
-rw-r--r-- | src/clipboard.c | 2 | ||||
-rw-r--r-- | src/fileio.c | 1 | ||||
-rw-r--r-- | src/option.c | 2 | ||||
-rw-r--r-- | src/screen.c | 1 | ||||
-rw-r--r-- | src/testdir/Make_vms.mms | 2 | ||||
-rw-r--r-- | src/testdir/test_signals.vim | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/clipboard.c b/src/clipboard.c index 3084ce1871..c26349291e 100644 --- a/src/clipboard.c +++ b/src/clipboard.c @@ -2047,6 +2047,8 @@ clip_get_selection(Clipboard_T *cbd) ca.count1 = 1; ca.retval = CA_NO_ADJ_OP_END; do_pending_operator(&ca, 0, TRUE); + + // restore things set_y_previous(old_y_previous); set_y_current(old_y_current); curwin->w_cursor = old_cursor; diff --git a/src/fileio.c b/src/fileio.c index 66061680b0..b3b7100d64 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2280,6 +2280,7 @@ failed: else { int fdflags = fcntl(fd, F_GETFD); + if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) (void)fcntl(fd, F_SETFD, fdflags | FD_CLOEXEC); } diff --git a/src/option.c b/src/option.c index ca6fadb504..094a723541 100644 --- a/src/option.c +++ b/src/option.c @@ -3835,7 +3835,7 @@ findoption(char_u *arg) * * Returns: * Number option: gov_number, *numval gets value. - * Tottle option: gov_bool, *numval gets value. + * Toggle option: gov_bool, *numval gets value. * String option: gov_string, *stringval gets allocated string. * Hidden Number option: gov_hidden_number. * Hidden Toggle option: gov_hidden_bool. diff --git a/src/screen.c b/src/screen.c index 7c6fe63e1a..60544b6e96 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3087,7 +3087,6 @@ windgoto(int row, int col) // Can't use ScreenLines unless initialized if (ScreenLines == NULL) return; - if (col != screen_cur_col || row != screen_cur_row) { // Check for valid position. diff --git a/src/testdir/Make_vms.mms b/src/testdir/Make_vms.mms index 1e4f0d56f5..b6c6fabaed 100644 --- a/src/testdir/Make_vms.mms +++ b/src/testdir/Make_vms.mms @@ -4,7 +4,7 @@ # Authors: Zoltan Arpadffy, <arpadffy@polarhome.com> # Sandor Kopanyi, <sandor.kopanyi@mailbox.hu> # -# Last change: 2020 Aug 13 +# Last change: 2020 Aug 14 # # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64. # Edit the lines in the Configuration section below to select. diff --git a/src/testdir/test_signals.vim b/src/testdir/test_signals.vim index 1723f33108..72fd024332 100644 --- a/src/testdir/test_signals.vim +++ b/src/testdir/test_signals.vim @@ -85,8 +85,8 @@ func Test_signal_INT() throw 'Skipped: INT signal not supported' endif - " Skip the rest of the test when running with valgrind as signal INT is not - " received somehow by Vim when running with valgrind. + " Skip the test when running with valgrind as signal INT is not received + " somehow by Vim when running with valgrind. let cmd = GetVimCommand() if cmd =~ 'valgrind' throw 'Skipped: cannot test signal INT with valgrind' @@ -119,10 +119,6 @@ func Test_deadly_signal_TERM() throw 'Skipped: TERM signal not supported' endif CheckRunVimInTerminal - let cmd = GetVimCommand() - if cmd =~ 'valgrind' - throw 'Skipped: cannot test signal TERM with valgrind' - endif " If test fails once, it can leave temporary files and trying to rerun " the test would then fail again if they are not deleted first. diff --git a/src/version.c b/src/version.c index e6df8768a3..b344129427 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2276, +/**/ 2275, /**/ 2274, |