Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 5.0.2-test-1 is available
On Nov 7, 2:18pm, Phil Pennock wrote:
}
} My startup files do:
}
} zmodload -F zsh/stat b:zstat
}
} With that run, `zmodload` does *not* list the zsh/stat module, in either
} 5.0.2-test-1 or 5.0.2.
}
} However, If I then run `zmodload -a zsh/stat zstat` then in 5.0.2 it
} succeeds silently, but in 5.0.2-test-1 I see the error which Axel
} reports.
I just checked out commit daa828bc51b48110f0a584fa2b74895d2cc761c1 and
compiled it. I get the same error message in 5.0.2 as in -test-1.
schaefer<501> zmodload -F zsh/stat b:zstat
schaefer<502> zmodload -a zsh/stat zstat
zmodload: failed to add builtin `zstat'
schaefer<503> print $ZSH_VERSION $ZSH_PATCHLEVEL
5.0.2 1.5778
In fact:
burner% zmodload -F zsh/stat b:zstat
burner% zmodload -a zsh/stat zstat
zmodload: failed to add builtin `zstat'
burner% print $ZSH_VERSION $ZSH_PATCHLEVEL
4.3.17 Debian
So I don't know why you weren't getting the error message before, but
it's not a code regression.
Aside: This is a bit weird:
torch% zmodload -a zsh/stat
zmodload: zsh/stat: `/' is illegal in a builtin
zmodload not checking that it has the correct number of arguments?
--
Barton E. Schaefer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author