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

Re: [PATCH 1/3] src: fix build warnings



Hi,

On Mon, Jan 4, 2021, at 12:14 AM, Daniel Shahaf wrote:
> Felipe Contreras wrote on Sat, 02 Jan 2021 12:30 -0600:
> > The best fix is to allocate one byte, especially if it's going to be
> > freed later on.
> 
> Yes, please revise the patch to allocate byte(s) from the heap as
> needed.  (See comments at the top of mem.c, and, for instance,
> dupstring() v. ztrdup().)

Any plans to send a revised patch?

vq




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