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

Re: sh compatibility issue



On Tuesday, February 22, 2011, Vincent Stemen <vince.lists@xxxxxxxxxxx> wrote:
>
> I don't think it worked.  With this patch added, the bahaviour did not
> change from the previous patch.  Fatal error in sh mode not not in zsh
> mode.

That's intentional.  Zsh is not a POSIX shell unless you tell it to
be, so in zsh mode it behaves the way zsh always has.

As I understand it, the patch should change the behavior of other
special builtins (in addition to exec), but only when POSIXBUILTINS is
set.



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