1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-25 05:31:19 +02:00

cf. users/20606: zcompile prepares scripts for sourcing, not for execution

This commit is contained in:
Barton E. Schaefer 2015-09-19 23:06:55 -07:00
parent e61717b606
commit bdcdb562d9
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2015-09-19 Barton E. Schaefer <schaefer@zsh.org>
* unposted: Doc/Zsh/builtins.yo: zcompile prepares scripts for
sourcing, not for execution
* 36566: Src/parse.c: check for regular file before lseek()
* 36562: Src/utils.c: sanitize $PWD on import, per POSIX

View file

@ -2321,7 +2321,7 @@ item(tt(zcompile -t) var(file) [ var(name) ... ])(
This builtin command can be used to compile functions or scripts,
storing the compiled form in a file, and to examine files containing
the compiled form. This allows faster autoloading of functions and
execution of scripts by avoiding parsing of the text when the files
sourcing of scripts by avoiding parsing of the text when the files
are read.
The first form (without the tt(-c), tt(-a) or tt(-t) options) creates a