summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.2.010
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2011-04-25 13:37:00 +0000
committerEric Hameleers <alien@slackware.com>2018-05-31 22:45:18 +0200
commit75a4a592e5ccda30715f93563d741b83e0dcf39e (patch)
tree502f745607e77a2c4386ad38d818ddcafe81489c /source/ap/vim/patches/7.2.010
parentb76270bf9e6dd375e495fec92140a79a79415d27 (diff)
downloadcurrent-75a4a592e5ccda30715f93563d741b83e0dcf39e.tar.gz
Slackware 13.37slackware-13.37
Mon Apr 25 13:37:00 UTC 2011 Slackware 13.37 x86_64 stable is released! Thanks to everyone who pitched in on this release: the Slackware team, the folks producing upstream code, and linuxquestions.org for providing a great forum for collaboration and testing. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. As always, thanks to the Slackware community for testing, suggestions, and feedback. :-) Have fun!
Diffstat (limited to 'source/ap/vim/patches/7.2.010')
-rw-r--r--source/ap/vim/patches/7.2.010206
1 files changed, 0 insertions, 206 deletions
diff --git a/source/ap/vim/patches/7.2.010 b/source/ap/vim/patches/7.2.010
deleted file mode 100644
index 47315881..00000000
--- a/source/ap/vim/patches/7.2.010
+++ /dev/null
@@ -1,206 +0,0 @@
-To: vim-dev@vim.org
-Subject: Patch 7.2.010
-Fcc: outbox
-From: Bram Moolenaar <Bram@moolenaar.net>
-Mime-Version: 1.0
-Content-Type: text/plain; charset=ISO-8859-1
-Content-Transfer-Encoding: 8bit
-------------
-
-Patch 7.2.010
-Problem: When using "K" in Visual mode not all characters are properly
- escaped. (Ben Schmidt)
-Solution: Use a function with the functionality of shellescape(). (Jan
- Minar)
-Files: src/mbyte.c, src/misc2.c, src/normal.c
-
-
-*** ../vim-7.2.009/src/mbyte.c Wed Aug 6 18:45:36 2008
---- src/mbyte.c Wed Sep 3 22:34:48 2008
-***************
-*** 2540,2546 ****
- return (int)(p - q);
- }
-
-- #if defined(FEAT_EVAL) || defined(PROTO)
- /*
- * Copy a character from "*fp" to "*tp" and advance the pointers.
- */
---- 2540,2545 ----
-***************
-*** 2555,2561 ****
- *tp += l;
- *fp += l;
- }
-- #endif
-
- /*
- * Return the offset from "p" to the first byte of a character. When "p" is
---- 2554,2559 ----
-*** ../vim-7.2.009/src/misc2.c Thu Jul 24 20:28:58 2008
---- src/misc2.c Wed Sep 3 22:05:21 2008
-***************
-*** 1257,1263 ****
- return escaped_string;
- }
-
-- #if !defined(BACKSLASH_IN_FILENAME) || defined(FEAT_EVAL) || defined(PROTO)
- /*
- * Return TRUE when 'shell' has "csh" in the tail.
- */
---- 1257,1262 ----
-***************
-*** 1266,1274 ****
- {
- return (strstr((char *)gettail(p_sh), "csh") != NULL);
- }
-- #endif
-
-- #if defined(FEAT_EVAL) || defined(PROTO)
- /*
- * Escape "string" for use as a shell argument with system().
- * This uses single quotes, except when we know we need to use double qoutes
---- 1265,1271 ----
-***************
-*** 1391,1397 ****
-
- return escaped_string;
- }
-- #endif
-
- /*
- * Like vim_strsave(), but make all characters uppercase.
---- 1388,1393 ----
-*** ../vim-7.2.009/src/normal.c Thu Jul 31 22:03:54 2008
---- src/normal.c Sat Sep 6 15:06:07 2008
-***************
-*** 5469,5474 ****
---- 5469,5479 ----
- STRCPY(buf, "he! ");
- else
- {
-+ /* An external command will probably use an argument starting
-+ * with "-" as an option. To avoid trouble we skip the "-". */
-+ while (*ptr == '-')
-+ ++ptr;
-+
- /* When a count is given, turn it into a range. Is this
- * really what we want? */
- isman = (STRCMP(kp, "man") == 0);
-***************
-*** 5511,5547 ****
- /*
- * Now grab the chars in the identifier
- */
-! if (cmdchar == '*')
-! aux_ptr = (char_u *)(p_magic ? "/.*~[^$\\" : "/^$\\");
-! else if (cmdchar == '#')
-! aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
-! else if (cmdchar == 'K' && !kp_help)
-! aux_ptr = (char_u *)" \t\\\"|!";
-! else
-! /* Don't escape spaces and Tabs in a tag with a backslash */
-! aux_ptr = (char_u *)"\\|\"";
-!
-! p = buf + STRLEN(buf);
-! while (n-- > 0)
-! {
-! /* put a backslash before \ and some others */
-! if (vim_strchr(aux_ptr, *ptr) != NULL)
-! *p++ = '\\';
-! #ifdef FEAT_MBYTE
-! /* When current byte is a part of multibyte character, copy all bytes
-! * of that character. */
-! if (has_mbyte)
- {
-! int i;
-! int len = (*mb_ptr2len)(ptr) - 1;
-!
-! for (i = 0; i < len && n >= 1; ++i, --n)
-! *p++ = *ptr++;
- }
- #endif
-! *p++ = *ptr++;
- }
-- *p = NUL;
-
- /*
- * Execute the command.
---- 5516,5572 ----
- /*
- * Now grab the chars in the identifier
- */
-! if (cmdchar == 'K' && !kp_help)
-! {
-! /* Escape the argument properly for a shell command */
-! p = vim_strsave_shellescape(ptr, TRUE);
-! if (p == NULL)
- {
-! vim_free(buf);
-! return;
- }
-+ buf = (char_u *)vim_realloc(buf, STRLEN(buf) + STRLEN(p) + 1);
-+ if (buf == NULL)
-+ {
-+ vim_free(buf);
-+ vim_free(p);
-+ return;
-+ }
-+ STRCAT(buf, p);
-+ vim_free(p);
-+ }
-+ else
-+ {
-+ if (cmdchar == '*')
-+ aux_ptr = (char_u *)(p_magic ? "/.*~[^$\\" : "/^$\\");
-+ else if (cmdchar == '#')
-+ aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
-+ else
-+ /* Don't escape spaces and Tabs in a tag with a backslash */
-+ aux_ptr = (char_u *)"\\|\"\n*?[";
-+
-+ p = buf + STRLEN(buf);
-+ while (n-- > 0)
-+ {
-+ /* put a backslash before \ and some others */
-+ if (vim_strchr(aux_ptr, *ptr) != NULL)
-+ *p++ = '\\';
-+ #ifdef FEAT_MBYTE
-+ /* When current byte is a part of multibyte character, copy all
-+ * bytes of that character. */
-+ if (has_mbyte)
-+ {
-+ int i;
-+ int len = (*mb_ptr2len)(ptr) - 1;
-+
-+ for (i = 0; i < len && n >= 1; ++i, --n)
-+ *p++ = *ptr++;
-+ }
- #endif
-! *p++ = *ptr++;
-! }
-! *p = NUL;
- }
-
- /*
- * Execute the command.
-*** ../vim-7.2.009/src/version.c Mon Sep 1 17:56:05 2008
---- src/version.c Sat Sep 6 16:26:42 2008
-***************
-*** 678,679 ****
---- 678,681 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 10,
- /**/
-
---
-Q. What happens to programmers when they die?
-A: MS-Windows programmers are reinstalled. C++ programmers become undefined,
- anyone who refers to them will die as well. Java programmers reincarnate
- after being garbage collected.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ download, build and distribute -- http://www.A-A-P.org ///
- \\\ help me help AIDS victims -- http://ICCF-Holland.org ///