about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-10-09 09:24:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-10-09 09:24:22 +0000
commit8d9cb7f42e2822a1c776fe1d0c3c0c3c0e6f8cdc (patch)
tree249e55dca99e4d87855459626d01a2c206f9a934
parent5513970d9621fbe3df2e0918d610fa65ee02da60 (diff)
downloadzsh-8d9cb7f42e2822a1c776fe1d0c3c0c3c0e6f8cdc.tar.gz
zsh-8d9cb7f42e2822a1c776fe1d0c3c0c3c0e6f8cdc.tar.xz
zsh-8d9cb7f42e2822a1c776fe1d0c3c0c3c0e6f8cdc.zip
fix trivial typo with "functions +T"
-rw-r--r--ChangeLog6
-rw-r--r--Src/builtin.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cf05e985..0fe5c3668 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-09  Peter Stephenson  <pws@csr.com>
+
+	* unposted: Src/builtin.c: fix trivial typo with "functions +T".
+
 2012-10-07  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 30722: Src/builtin.c, Src/exec.c, Src/init.c, Src/options.c,
@@ -244,5 +248,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5740 $
+* $Revision: 1.5741 $
 *****************************************************
diff --git a/Src/builtin.c b/Src/builtin.c
index 334321db9..5cb643f23 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -2692,7 +2692,7 @@ bin_functions(char *name, char **argv, Options ops, int func)
     if (OPT_MINUS(ops,'T'))
 	on |= PM_TAGGED_LOCAL;
     else if (OPT_PLUS(ops,'T'))
-	on |= PM_TAGGED_LOCAL;
+	off |= PM_TAGGED_LOCAL;
     if (OPT_MINUS(ops,'z')) {
 	on |= PM_ZSHSTORED;
 	off |= PM_KSHSTORED;