summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;