From bdcdb562d97f7ed604ead37ccda52792dff9a93f Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Sat, 19 Sep 2015 23:06:55 -0700 Subject: cf. users/20606: zcompile prepares scripts for sourcing, not for execution --- ChangeLog | 3 +++ Doc/Zsh/builtins.yo | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 70407ca50..74226a8f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-09-19 Barton E. Schaefer + * 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 diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 67e3131cb..97c337071 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -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 -- cgit 1.4.1