Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH 11/17: hist: use zhtricat instead of tricat



Found by Coverity (Issue 1255769).
---
 Src/hist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Src/hist.c b/Src/hist.c
index 8ff9eff..d8192c1 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -3111,7 +3111,7 @@ bufferwords(LinkList list, char *buf, int *index, int flags)
 		     * double quotes.  Whitespace in the middle is
 		     * similarly retained, so just add the parentheses back.
 		     */
-		    p = tricat("((", tokstr, "))");
+		    p = zhtricat("((", tokstr, "))");
 		}
 		break;
 
-- 
2.2.0.GIT



Messages sorted by: Reverse Date, Date, Thread, Author