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

Re: The -~ bug



On Fri, 2 Dec 2016 16:37:30 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Is it safe to do the following, which changes the string passed in via
> *namptr?  Or is it necessary to dupstring()?

Thanks, I think that's fine --- this always (unless there's a path I've
forgotten about) comes from parsed command line argument which are all
off the heap.

pws



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