projects
/
platform
/
upstream
/
bash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bash-4.2 patch 5
[platform/upstream/bash.git]
/
builtins
/
printf.def
diff --git
a/builtins/printf.def
b/builtins/printf.def
index
7892cb5
..
9eca215
100644
(file)
--- a/
builtins/printf.def
+++ b/
builtins/printf.def
@@
-465,6
+465,9
@@
printf_builtin (list)
secs = shell_start_time; /* roughly $SECONDS */
else
secs = arg;
+#if defined (HAVE_TZSET)
+ sv_tz ("TZ"); /* XXX -- just make sure */
+#endif
tm = localtime (&secs);
n = strftime (timebuf, sizeof (timebuf), timefmt, tm);
free (timefmt);