diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2013-11-04 17:08:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:57:36 +0200 |
commit | 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (patch) | |
tree | 9b98e6e193c7870cb27ac861394c1c4592850922 /source/ap/vim/patches/7.3.265 | |
parent | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (diff) | |
download | current-76fc4757ac91ac7947a01fb7b53dddf9a78a01d1.tar.gz |
Slackware 14.1slackware-14.1
Mon Nov 4 17:08:47 UTC 2013
Slackware 14.1 x86_64 stable is released!
It's been another interesting release cycle here at Slackware bringing
new features like support for UEFI machines, updated compilers and
development tools, the switch from MySQL to MariaDB, and many more
improvements throughout the system. Thanks to the team, the upstream
developers, the dedicated Slackware community, and everyone else who
pitched in to help make this release a reality.
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.
Have fun! :-)
Diffstat (limited to 'source/ap/vim/patches/7.3.265')
-rw-r--r-- | source/ap/vim/patches/7.3.265 | 145 |
1 files changed, 0 insertions, 145 deletions
diff --git a/source/ap/vim/patches/7.3.265 b/source/ap/vim/patches/7.3.265 deleted file mode 100644 index 98cb1b4e..00000000 --- a/source/ap/vim/patches/7.3.265 +++ /dev/null @@ -1,145 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 7.3.265 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 7.3.265 -Problem: When storing a pattern in search history there is no proper check - for the separator character. -Solution: Pass the separator character to in_history(). (Muraoka Taro) -Files: src/ex_getln.c - - -*** ../vim-7.3.264/src/ex_getln.c 2011-07-07 16:44:33.000000000 +0200 ---- src/ex_getln.c 2011-07-27 17:50:35.000000000 +0200 -*************** -*** 67,73 **** - - static int hist_char2type __ARGS((int c)); - -! static int in_history __ARGS((int, char_u *, int)); - # ifdef FEAT_EVAL - static int calc_hist_idx __ARGS((int histype, int num)); - # endif ---- 67,73 ---- - - static int hist_char2type __ARGS((int c)); - -! static int in_history __ARGS((int, char_u *, int, int)); - # ifdef FEAT_EVAL - static int calc_hist_idx __ARGS((int histype, int num)); - # endif -*************** -*** 5289,5301 **** - * If 'move_to_front' is TRUE, matching entry is moved to end of history. - */ - static int -! in_history(type, str, move_to_front) - int type; - char_u *str; - int move_to_front; /* Move the entry to the front if it exists */ - { - int i; - int last_i = -1; - - if (hisidx[type] < 0) - return FALSE; ---- 5289,5303 ---- - * If 'move_to_front' is TRUE, matching entry is moved to end of history. - */ - static int -! in_history(type, str, move_to_front, sep) - int type; - char_u *str; - int move_to_front; /* Move the entry to the front if it exists */ -+ int sep; - { - int i; - int last_i = -1; -+ char_u *p; - - if (hisidx[type] < 0) - return FALSE; -*************** -*** 5304,5310 **** - { - if (history[type][i].hisstr == NULL) - return FALSE; -! if (STRCMP(str, history[type][i].hisstr) == 0) - { - if (!move_to_front) - return TRUE; ---- 5306,5317 ---- - { - if (history[type][i].hisstr == NULL) - return FALSE; -! -! /* For search history, check that the separator character matches as -! * well. */ -! p = history[type][i].hisstr; -! if (STRCMP(str, p) == 0 -! && (type != HIST_SEARCH || sep == p[STRLEN(p) + 1])) - { - if (!move_to_front) - return TRUE; -*************** -*** 5398,5404 **** - } - last_maptick = -1; - } -! if (!in_history(histype, new_entry, TRUE)) - { - if (++hisidx[histype] == hislen) - hisidx[histype] = 0; ---- 5405,5411 ---- - } - last_maptick = -1; - } -! if (!in_history(histype, new_entry, TRUE, sep)) - { - if (++hisidx[histype] == hislen) - hisidx[histype] = 0; -*************** -*** 5977,5983 **** - if (val != NULL && *val != NUL) - { - if (!in_history(type, val + (type == HIST_SEARCH), -! viminfo_add_at_front)) - { - /* Need to re-allocate to append the separator byte. */ - len = STRLEN(val); ---- 5984,5990 ---- - if (val != NULL && *val != NUL) - { - if (!in_history(type, val + (type == HIST_SEARCH), -! viminfo_add_at_front, *val)) - { - /* Need to re-allocate to append the separator byte. */ - len = STRLEN(val); -*** ../vim-7.3.264/src/version.c 2011-07-27 17:31:42.000000000 +0200 ---- src/version.c 2011-07-27 17:58:22.000000000 +0200 -*************** -*** 711,712 **** ---- 711,714 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 265, - /**/ - --- - [clop clop] -MORTICIAN: Who's that then? -CUSTOMER: I don't know. -MORTICIAN: Must be a king. -CUSTOMER: Why? -MORTICIAN: He hasn't got shit all over him. - The Quest for the Holy Grail (Monty Python) - - /// 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 /// |