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

Re: Segfault with newer .zwc



On Mon, 7 Jan 2008 17:39:51 +0000 (UTC)
Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
> Hi,
> 
> I've built a zwc with “zcompile .zshrc” from the zsh-beta package in
> Debian (last Changelog entry is 2007-12-27). When using this file with
> zsh from the zsh package (last Changelog entry is 2007-12-20) it crashes.

You're not actually supposed to be able to use compiled files with
different versions of the shell.  There is a version number built in,
but unless the version number of the shell in the archive was
incremented in between (which is only done manually when I make a
release) this doesn't alert the shell to differences.

Most of the time this doesn't matter but if there is a change in parsing it
can make a difference.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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