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

Re: PATCH: bad clash between process substitution and numeric glob



On Tue, 18 Nov 2008 18:46:22 +0100
Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Bart wrote:
> > Correct me if I'm wrong, but this is going to break zcompiled scripts
> > that were created with earlier versions of the shell.
> > 
> > Not that you need to avoid that, but it might be worth explicitly
> > calling out if true, and also bump the ZSH_VERSION number so it's
> > detectable at run time.
> 
> My understanding was that the "magic" numbers in parse.c are supposed to
> be changed if you break wordcode files. Seems the last person to change
> those was me back in 2001. See Sven's comment to parse.c version 1.30
> in CVS. I know I just followed what Sven had done so 03040506 became
> 04050607.

As there's a comparison after the magic numbers with the shell version,
I think that's only necessary if the header format changes (the first
FD_PRELEN words).  Otherwise changing the version number is good enough.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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