1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

Revert "36222: unmetafy output from strftime"

This reverts commit 8141a3d850.
This commit is contained in:
Peter Stephenson 2015-08-18 14:26:11 +01:00
parent 8141a3d850
commit 5292d60eb1
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2015-08-18 Peter Stephenson <p.stephenson@samsung.com>
* unposted: revert 36222, not the correct fix.
* 36222: Src/Modules/datetime.c: unmetafy output from strftime.
* 36218: Src/files.c: use unmetafied file name for mkdir()

View file

@ -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);