Bash-4.2 patch 5
This commit is contained in:
parent
aeb26a67db
commit
2bbe80583b
5 changed files with 28 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue