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/EnginePl/engine1.c b/src/EnginePl/engine1.c | |
--- a/src/EnginePl/engine1.c | |
+++ b/src/EnginePl/engine1.c | |
@@ -118,6 +118,11 @@ | |
#endif | |
+#elif defined(M_x86_64_darwin) | |
+ | |
+ register WamWord *rb asm("%r12") = pl_reg_bank; |
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/osdep-darwin.c b/osdep-darwin.c | |
index b112fa7..caffe60 100644 | |
--- a/osdep-darwin.c | |
+++ b/osdep-darwin.c | |
@@ -16,9 +16,6 @@ | |
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
*/ | |
-#include <sys/types.h> | |
-#include <sys/sysctl.h> |
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/Makefile.am b/Makefile.am | |
index 726582a..30b8ca5 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -50,11 +50,12 @@ endif | |
# Set flags for Solaris. | |
if IS_SUNOS | |
-CPPFLAGS += -D_XPG4_2 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS | |
+CPPFLAGS += -D_XPG6 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |
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/osdep-darwin.c b/osdep-darwin.c | |
index 23de9d5..1e5cf0d 100644 | |
--- a/osdep-darwin.c | |
+++ b/osdep-darwin.c | |
@@ -33,17 +33,17 @@ struct event_base *osdep_event_init(void); | |
char * | |
osdep_get_name(int fd, unused char *tty) | |
{ | |
- struct proc_bsdshortinfo bsdinfo; | |
+ struct proc_bsdinfo bsdinfo; |
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
* shell command | |
----------------------------------------------------------------------------------------- | |
$ cat <<EOT | sqlite3 a.db | |
CREATE TABLE people (id int, friend int); | |
CREATE INDEX _id ON people (id); | |
begin; | |
$( | |
declare -i i=0 | |
for i in $(seq 0 999); do | |
echo "INSERT INTO people VALUES ($i, $(($i+1)))" |
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
SCRIPT /Users/Experiment/.dotfiles/vim/bundle/vimproc.vim/autoload/vimproc.vim | |
Sourced 1 time | |
Total time: 0.004266 | |
Self time: 0.003283 | |
count total (s) self (s) | |
"============================================================================= | |
" FILE: vimproc.vim | |
" AUTHOR: Shougo Matsushita <[email protected]> (Modified) | |
" Yukihiro Nakadaira <yukihiro.nakadaira at gmail.com> (Original) |
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/configure.in b/src/configure.in | |
--- a/src/configure.in | |
+++ b/src/configure.in | |
@@ -494,26 +494,44 @@ | |
if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then | |
vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll" | |
else | |
- multiarch=`dpkg-architecture -qDEB_HOST_MULTIARCH 2> /dev/null` | |
- if test "X$multiarch" != "X"; then | |
- lib_multiarch="lib/${multiarch}" |
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
#################### | |
# nopatch, 1000rtp # | |
#################### | |
Total: 431 samples | |
143 33.2% 33.2% 245 56.8% vim_strchr | |
126 29.2% 62.4% 126 29.2% utfc_ptr2len | |
98 22.7% 85.2% 98 22.7% __xstat64 | |
13 3.0% 88.2% 92 21.3% has_special_wildchar | |
9 2.1% 90.3% 59 13.7% copy_option_part |
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
#!/usr/bin/env bash | |
gen_vimrc() { | |
cat <<EOT | |
function! s:startup() | |
let dirs = [] | |
for i in range(${1%_*}) | |
call add(dirs, printf('testdir/test-$1/dir%03d', i)) | |
endfor | |
let &rtp = join(dirs, ',') |
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
function! s:nop(x, y) | |
endfunction | |
function! s:dict_foldl_0(d) | |
for k in keys(a:d) | |
call s:nop(k, a:d[k]) | |
endfor | |
endfunction | |
function! s:dict_foldl_1(d) |
OlderNewer