diff options
author | Peter Stephenson <pws@zsh.org> | 2015-08-18 14:26:11 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-08-18 14:27:42 +0100 |
commit | 5292d60eb1b2ed5e021e3ee3d05bf08136757ac4 (patch) | |
tree | 3e10efddffd0595fee77277bd772594db38d9abf /Src | |
parent | 8141a3d850b1b9777a13d0107c262853734214b4 (diff) | |
download | zsh-5292d60eb1b2ed5e021e3ee3d05bf08136757ac4.tar.gz zsh-5292d60eb1b2ed5e021e3ee3d05bf08136757ac4.tar.xz zsh-5292d60eb1b2ed5e021e3ee3d05bf08136757ac4.zip |
Revert "36222: unmetafy output from strftime"
This reverts commit 8141a3d850b1b9777a13d0107c262853734214b4.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Modules/datetime.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c index f5a47e3d6..d9416679f 100644 --- a/Src/Modules/datetime.c +++ b/Src/Modules/datetime.c @@ -140,8 +140,7 @@ output_strftime(char *nam, char **argv, Options ops, UNUSED(int func)) if (scalar) { setsparam(scalar, metafy(buffer, -1, META_DUP)); } else { - zputs(buffer, stdout); - putchar('\n'); + printf("%s\n", buffer); } zfree(buffer, bufsize); |