fix support for neovim

This commit is contained in:
Barak Michener 2015-01-24 18:33:06 -05:00
parent 924d2b4bf9
commit 80604f4fc6
4 changed files with 3 additions and 3 deletions

View file

@ -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);