about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-09-08 11:12:10 +0200
committerOliver Kiddle <opk@zsh.org>2015-09-08 11:12:10 +0200
commit45e67c35529a27c2d228c616e5bafad2164e9bd6 (patch)
tree022de5cad01194fdd0ddda475277863cad08cf81
parent8931e47b8d8f9194cc5424bc15e546c037a891e7 (diff)
downloadzsh-45e67c35529a27c2d228c616e5bafad2164e9bd6.tar.gz
zsh-45e67c35529a27c2d228c616e5bafad2164e9bd6.tar.xz
zsh-45e67c35529a27c2d228c616e5bafad2164e9bd6.zip
36422: add missing unmeta()
-rw-r--r--ChangeLog4
-rw-r--r--Src/compat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9562d1396..bed312c3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-08  Oliver Kiddle  <opk@zsh.org>
+
+	36422: Src/compat.c: add missing unmeta()
+
 2015-09-07  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 36437: Doc/Zsh/zle.yo Src/Zle/zle.h: Document interaction of
diff --git a/Src/compat.c b/Src/compat.c
index db468529a..9041c0bed 100644
--- a/Src/compat.c
+++ b/Src/compat.c
@@ -448,7 +448,7 @@ zgetcwd(void)
     }
 #endif /* HAVE_GETCWD */
     if (!ret)
-	ret = pwd;
+	ret = unmeta(pwd);
     if (!ret)
 	ret = dupstring(".");
     return ret;