[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/bash-completion 6fca128da5: Force deletion of fifo file ma
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/bash-completion 6fca128da5: Force deletion of fifo file made for bash 4.2. |
Date: |
Wed, 7 Jun 2023 07:00:29 -0400 (EDT) |
branch: elpa/bash-completion
commit 6fca128da5e53d9d953052a6775525daa325367d
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <stephane@fuzzy.zia>
Force deletion of fifo file made for bash 4.2.
Before this change, it was possible for rm to be configured to require
confirmation when deleting the temporary fifo file. Switching to 'rm -f'
should avoid this.
fixes #67
---
bash-completion.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bash-completion.el b/bash-completion.el
index d94f01d469..6123ed084e 100644
--- a/bash-completion.el
+++ b/bash-completion.el
@@ -390,7 +390,7 @@ returned."
" local fd p=$(mktemp -u);"
" mkfifo \"$p\";"
" exec {fd}<>\"$p\";"
- " rm \"$p\";"
+ " rm -f \"$p\";"
" { __ebcfixdirs & } <&$fd 2>/dev/null;"
" local pid=$!;"
" compgen \"$@\" >&$fd 2>/dev/null; echo ==eof==>&$fd;"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/bash-completion 6fca128da5: Force deletion of fifo file made for bash 4.2.,
ELPA Syncer <=