about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2013-05-21 16:15:29 +0100
committerPeter Stephenson <pws@zsh.org>2013-05-21 16:15:29 +0100
commit17d38259f871d28ce92a36c7fa3dff0f269dee04 (patch)
treecaa3e74e820e257e5bc387361ccc40fac5564929 /Src
parent2989e4b66e5efc9a756f59a738f9de32bb4d62cf (diff)
parent1182a75e1b4d46a42935a217e80a2955b76be1a5 (diff)
downloadzsh-17d38259f871d28ce92a36c7fa3dff0f269dee04.tar.gz
zsh-17d38259f871d28ce92a36c7fa3dff0f269dee04.tar.xz
zsh-17d38259f871d28ce92a36c7fa3dff0f269dee04.zip
Fix merge
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index cd886437b..bc91578b3 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -5674,7 +5674,7 @@ bin_read(char *name, char **args, Options ops, UNUSED(int func))
 	    zputs(buf, stdout);
 	    putchar('\n');
 	}
-	if (!OPT_ISSET(ops,'e') && (*buf || first)) {
+	if (!OPT_ISSET(ops,'e') && (*buf || first || gotnl)) {
 	    if (OPT_ISSET(ops,'A')) {
 		addlinknode(readll, buf);
 		al++;