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

Re: Valgrind automatic tests, ran for almost every Zsh test and zredis



On 18 czerwca 2017 at 18:24:18, Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx) wrote:
> Hmm, looking more carefully at this, the problem actually seems to be that
> getoutputfile() doesn't need to pass 0 to gettempname() any longer. There
> used to be a direct call to zaddlinknode() in getoutputfile(), which needed
> a zalloc() string, but that was replaced by addfilelist() which does its own
> internal ztrdup().
> 
> So the fix is a whole lot simpler:
> 
> diff --git a/Src/exec.c b/Src/exec.c
...

OK, checked that A04 doesn't output errors

-- 
Sebastian Gniazdowski
psprint /at/ zdharma.org



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