summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1115
diff options
context:
space:
mode:
Diffstat (limited to 'data/vim/patches/8.1.1115')
-rw-r--r--data/vim/patches/8.1.1115100
1 files changed, 0 insertions, 100 deletions
diff --git a/data/vim/patches/8.1.1115 b/data/vim/patches/8.1.1115
deleted file mode 100644
index 1c881d064..000000000
--- a/data/vim/patches/8.1.1115
+++ /dev/null
@@ -1,100 +0,0 @@
-To: vim_dev@googlegroups.com
-Subject: Patch 8.1.11
-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.1115
-Problem: Cannot build with older C compiler.
-Solution: Move variable declaration to start of block.
-Files: src/autocmd.c
-
-
-*** ../vim-8.1.1114/src/autocmd.c 2019-04-04 15:04:32.966792195 +0200
---- src/autocmd.c 2019-04-04 15:38:27.276170676 +0200
-***************
-*** 391,400 ****
- prev_ap = &(first_autopat[(int)event]);
- for (ap = *prev_ap; ap != NULL; ap = *prev_ap)
- {
-- // loop over all commands for this pattern
-- prev_ac = &(ap->cmds);
- int has_cmd = FALSE;
-
- for (ac = *prev_ac; ac != NULL; ac = *prev_ac)
- {
- // remove the command if the pattern is to be deleted or when
---- 391,400 ----
- prev_ap = &(first_autopat[(int)event]);
- for (ap = *prev_ap; ap != NULL; ap = *prev_ap)
- {
- int has_cmd = FALSE;
-
-+ // loop over all commands for this pattern
-+ prev_ac = &(ap->cmds);
- for (ac = *prev_ac; ac != NULL; ac = *prev_ac)
- {
- // remove the command if the pattern is to be deleted or when
-***************
-*** 405,421 ****
- vim_free(ac->cmd);
- vim_free(ac);
- }
-! else {
- has_cmd = TRUE;
- prev_ac = &(ac->next);
- }
- }
-
-! if (ap->pat != NULL && !has_cmd) {
- // Pattern was not marked for deletion, but all of its
- // commands were. So mark the pattern for deletion.
- au_remove_pat(ap);
-- }
-
- // remove the pattern if it has been marked for deletion
- if (ap->pat == NULL)
---- 405,421 ----
- vim_free(ac->cmd);
- vim_free(ac);
- }
-! else
-! {
- has_cmd = TRUE;
- prev_ac = &(ac->next);
- }
- }
-
-! if (ap->pat != NULL && !has_cmd)
- // Pattern was not marked for deletion, but all of its
- // commands were. So mark the pattern for deletion.
- au_remove_pat(ap);
-
- // remove the pattern if it has been marked for deletion
- if (ap->pat == NULL)
-*** ../vim-8.1.1114/src/version.c 2019-04-04 15:35:42.833132544 +0200
---- src/version.c 2019-04-04 15:39:05.447951004 +0200
-***************
-*** 773,774 ****
---- 773,776 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 1115,
- /**/
-
---
-% cat /usr/include/sys/errno.h
-#define EPERM 1 /* Operation not permitted */
-#define ENOENT 2 /* No such file or directory */
-#define ESRCH 3 /* No such process */
-[...]
-#define EMACS 666 /* Too many macros */
-%
-
- /// 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 ///