fix support for neovim
This commit is contained in:
parent
924d2b4bf9
commit
80604f4fc6
4 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue