From 80604f4fc66d9bc239d3e3f734644ba502db5951 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Sat, 24 Jan 2015 18:33:06 -0500 Subject: [PATCH] fix support for neovim --- .hgrc | 2 -- .nvim | 1 + .nvimrc | 1 + bin/build/src/wye/wye.c | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 120000 .nvim create mode 120000 .nvimrc diff --git a/.hgrc b/.hgrc index 585f0df..5593e88 100644 --- a/.hgrc +++ b/.hgrc @@ -2,8 +2,6 @@ username = Barak Michener [extensions] -hgext.bookmarks = -hggit = fetch = color = diff --git a/.nvim b/.nvim new file mode 120000 index 0000000..8355b52 --- /dev/null +++ b/.nvim @@ -0,0 +1 @@ +.vim \ No newline at end of file diff --git a/.nvimrc b/.nvimrc new file mode 120000 index 0000000..1490f7a --- /dev/null +++ b/.nvimrc @@ -0,0 +1 @@ +.vimrc \ No newline at end of file diff --git a/bin/build/src/wye/wye.c b/bin/build/src/wye/wye.c index 2ba7466..6d0faf7 100644 --- a/bin/build/src/wye/wye.c +++ b/bin/build/src/wye/wye.c @@ -24,7 +24,7 @@ int main() /* create the fifo. if we get EEXIST, then someone else created a * file with our intended name right before we did; we should pick * a new name and try again. see the source to mkstemp(3). */ - while (mkfifo(mktemp(tempfile), 0600) == -1) { + while (mkfifo(mkstemp(tempfile), 0600) == -1) { if (errno != EEXIST) { perror("wye: couldn't create fifo"); exit(1);