diff options
author | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
commit | a255618e22152ca2e5fd361a3d0762e9db20dd80 (patch) | |
tree | 5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.1059 | |
parent | 1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff) |
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.1059')
-rw-r--r-- | data/vim/patches/8.1.1059 | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.1059 b/data/vim/patches/8.1.1059 new file mode 100644 index 000000000..a8e1409d7 --- /dev/null +++ b/data/vim/patches/8.1.1059 @@ -0,0 +1,77 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.1059 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.1059 +Problem: MS-Windows: PlatformId() is called unnecessarily. +Solution: Remove calls to PlatformId(). (Ken Takata, closes #4170) +Files: src/os_win32.c + + +*** ../vim-8.1.1058/src/os_win32.c 2019-03-21 19:57:57.491816288 +0100 +--- src/os_win32.c 2019-03-27 21:48:51.893590550 +0100 +*************** +*** 6796,6802 **** + { + MEMORYSTATUSEX ms; + +- PlatformId(); + /* Need to use GlobalMemoryStatusEx() when there is more memory than + * what fits in 32 bits. But it's not always available. */ + ms.dwLength = sizeof(MEMORYSTATUSEX); +--- 6796,6801 ---- +*************** +*** 6982,6989 **** + char * + default_shell(void) + { +- PlatformId(); +- + return "cmd.exe"; + } + +--- 6981,6986 ---- +*************** +*** 7327,7333 **** + mch_copy_file_attribute(char_u *from, char_u *to) + { + /* File streams only work on Windows NT and later. */ +- PlatformId(); + copy_infostreams(from, to); + return 0; + } +--- 7324,7329 ---- +*************** +*** 7358,7365 **** + DWORD nPageSize; + DWORD dummy; + +- PlatformId(); +- + /* We need to know the system page size. */ + GetSystemInfo(&si); + nPageSize = si.dwPageSize; +--- 7354,7359 ---- +*** ../vim-8.1.1058/src/version.c 2019-03-27 21:41:32.965793744 +0100 +--- src/version.c 2019-03-27 21:48:47.677634093 +0100 +*************** +*** 777,778 **** +--- 777,780 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 1059, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +132. You come back and check this list every half-hour. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |