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

Re: zsh 5.0.5-dev-2



On Thu, 14 Aug 2014 21:44:12 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Maybe just make xsymlinks() have a ternary return value instead of a
> boolean one, and return an actual error value in the case where we've
> truncated on overflow instead of as part of normal expansion to root?

Sounds reasonable for now.  Thanks.

> I don't know if all of these changes are necessary.  It has always
> bothered me that the return value of the recursive calls to xsymlinks()
> are ignored, but maybe this isn't the right way to handle them.

Yes, the way the calls a nested is a bit of a mess.

> Incidentally, anybody recall what the obviously obsolete comment above
> the xsymlinks() definition in Src/utils.c is about?

No, I noticed that but don't remember the history.

pws



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