diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2015-01-06 00:43:24 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2015-01-06 23:47:23 +0100 |
| commit | adae710eb057c291cadd393b778416bf2de2218a (patch) | |
| tree | b5539c9c8149565d2f84e5319edfab39106506ea /Src/hist.c | |
| parent | 34113: whence: use dupstring to not leak memory (diff) | |
| download | zsh-adae710eb057c291cadd393b778416bf2de2218a.tar zsh-adae710eb057c291cadd393b778416bf2de2218a.tar.gz zsh-adae710eb057c291cadd393b778416bf2de2218a.tar.bz2 zsh-adae710eb057c291cadd393b778416bf2de2218a.tar.lz zsh-adae710eb057c291cadd393b778416bf2de2218a.tar.xz zsh-adae710eb057c291cadd393b778416bf2de2218a.tar.zst zsh-adae710eb057c291cadd393b778416bf2de2218a.zip | |
34106: hist: use zhtricat instead of tricat
Found by Coverity (Issue 1255769).
Diffstat (limited to 'Src/hist.c')
| -rw-r--r-- | Src/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c index 8ff9eff82..d8192c1c5 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; |
