1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

23022: don't allow WORDCHARS to be exported to tests

This commit is contained in:
Peter Stephenson 2006-11-28 22:09:00 +00:00
parent ef97181d40
commit ab8b8026dc
2 changed files with 6 additions and 0 deletions

@ -1,5 +1,8 @@
2006-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com> 2006-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 23022: Test/ztst.zsh: don't allow WORDCHARS to be exported
to tests.
* unposted: Completion/Unix/Command/_perforce: updated to 2006.2. * unposted: Completion/Unix/Command/_perforce: updated to 2006.2.
2006-11-27 Clint Adams <clint@zsh.org> 2006-11-27 Clint Adams <clint@zsh.org>

@ -30,6 +30,9 @@ emulate -R zsh
[[ -n $LC_MESSAGES ]] && LC_MESSAGES=C [[ -n $LC_MESSAGES ]] && LC_MESSAGES=C
[[ -n $LANG ]] && LANG=C [[ -n $LANG ]] && LANG=C
# Don't propagate variables that are set by default in the shell.
typeset +x WORDCHARS
# Set the module load path to correspond to this build of zsh. # Set the module load path to correspond to this build of zsh.
# This Modules directory should have been created by "make check". # This Modules directory should have been created by "make check".
[[ -d Modules/zsh ]] && module_path=( $PWD/Modules ) [[ -d Modules/zsh ]] && module_path=( $PWD/Modules )