summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-08-18 12:36:51 +0100
committerPeter Stephenson <pws@zsh.org>2015-08-18 12:36:51 +0100
commit8141a3d850b1b9777a13d0107c262853734214b4 (patch)
treeb5e71e3b3eb9bd570c97482408bea9a755c77767 /Src/Modules
parent770beb58167b59898fa719202bb98034133de8ff (diff)
downloadzsh-8141a3d850b1b9777a13d0107c262853734214b4.tar.gz
zsh-8141a3d850b1b9777a13d0107c262853734214b4.tar.xz
zsh-8141a3d850b1b9777a13d0107c262853734214b4.zip
36222: unmetafy output from strftime
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/datetime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c
index d9416679f..f5a47e3d6 100644
--- a/Src/Modules/datetime.c
+++ b/Src/Modules/datetime.c
@@ -140,7 +140,8 @@ output_strftime(char *nam, char **argv, Options ops, UNUSED(int func))
     if (scalar) {
 	setsparam(scalar, metafy(buffer, -1, META_DUP));
     } else {
-	printf("%s\n", buffer);
+	zputs(buffer, stdout);
+	putchar('\n');
     }
     zfree(buffer, bufsize);