This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>org.wireshark.chmod_bpf</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/bin/sh</string> | |
<string>-c</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/vimproc.vim b/autoload/vimproc.vim | |
index 1a9359f..cc2a144 100644 | |
--- a/autoload/vimproc.vim | |
+++ b/autoload/vimproc.vim | |
@@ -992,12 +992,12 @@ do | |
local ret = vim.eval('ret') | |
local hd = vim.eval('a:hd[0]') | |
local len = string.len(hd) | |
- local s = '' | |
+ local s = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/proc.c b/autoload/proc.c | |
index 3eeb0de..b9383c3 100644 | |
--- a/autoload/proc.c | |
+++ b/autoload/proc.c | |
@@ -964,62 +964,34 @@ const char * | |
vp_decode(char *args) | |
{ | |
vp_stack_t stack; | |
- unsigned num; | |
- unsigned i, bi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/regexp.c b/src/regexp.c | |
--- a/src/regexp.c | |
+++ b/src/regexp.c | |
@@ -3109,16 +3109,25 @@ | |
if (reg_magic >= MAGIC_OFF) | |
{ | |
char_u *p = regparse + 1; | |
- | |
- /* ignore \c \C \m and \M after '$' */ | |
+ int is_magic_all = (reg_magic == MAGIC_ALL) ? TRUE : FALSE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/window.c b/src/window.c | |
--- a/src/window.c | |
+++ b/src/window.c | |
@@ -6891,8 +6891,8 @@ | |
} | |
if (toplnum == 0 || lnum < toplnum) | |
toplnum = lnum; | |
- if (botlnum == 0 || lnum > botlnum) | |
- botlnum = lnum; | |
+ if (botlnum == 0 || lnum >= botlnum) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CentOS 7 / Vim 7.4.463 | |
########################################################### | |
# substitute() | |
########################################################### | |
Total: 332 samples | |
331 99.7% 99.7% 331 99.7% __GI_strlen | |
1 0.3% 100.0% 1 0.3% utfc_ptr2len | |
0 0.0% 100.0% 332 100.0% call_func |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fu! Profile() | |
let text = join(readfile('jdk1.7.0_40.jsondoc'), "\n") | |
let s = reltime() | |
call vimperf#start('result.1.out') | |
let t1 = substitute(text, '\n', '', 'g') | |
call vimperf#stop() | |
echomsg reltimestr(reltime(s)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/eval.c b/src/eval.c | |
--- a/src/eval.c | |
+++ b/src/eval.c | |
@@ -25076,6 +25076,7 @@ do_string_sub(str, pat, sub, flags) | |
int i; | |
int do_all; | |
char_u *tail; | |
+ char_u *end; | |
garray_T ga; | |
char_u *ret; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/search.c b/src/search.c | |
--- a/src/search.c | |
+++ b/src/search.c | |
@@ -552,6 +552,7 @@ searchit(win, buf, pos, dir, pat, count, | |
int match_ok; | |
long nmatched; | |
int submatch = 0; | |
+ int first_match = TRUE; | |
int save_called_emsg = called_emsg; | |
#ifdef FEAT_SEARCH_EXTRA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/eval.c b/src/eval.c | |
--- a/src/eval.c | |
+++ b/src/eval.c | |
@@ -22282,15 +22282,11 @@ ex_function(eap) | |
{ | |
if (*p == '!') | |
p = skipwhite(p + 1); | |
- p += eval_fname_script(p); | |
- if (ASCII_ISALPHA(*p)) | |
- { |
OlderNewer