From 1d885a8a690d6d299aabe77b6ad4cfd76eebb300 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 17 Mar 2019 14:03:10 +0100 Subject: [PATCH] pull upstream changes from gitstatus --- gitstatus/gitstatus.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index b44b8ef3..f3c91eb7 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -194,7 +194,7 @@ function gitstatus_start() { req_fifo=$(mktemp -u "${TMPDIR:-/tmp}"/gitstatus.$$.pipe.req.XXXXXXXXXX) mkfifo $req_fifo - sysopen -rw -o cloexec -u req_fd $req_fifo + sysopen -rw -o cloexec,sync -u req_fd $req_fifo command rm -f $req_fifo resp_fifo=$(mktemp -u "${TMPDIR:-/tmp}"/gitstatus.$$.pipe.resp.XXXXXXXXXX)