Bash-4.2 patch 5

This commit is contained in:
Chet Ramey 2011-11-22 20:00:19 -05:00
commit 2bbe80583b
5 changed files with 28 additions and 4 deletions

View file

@ -5135,6 +5135,9 @@ decode_prompt_string (string)
case 'A':
/* Make the current time/date into a string. */
(void) time (&the_time);
#if defined (HAVE_TZSET)
sv_tz ("TZ"); /* XXX -- just make sure */
#endif
tm = localtime (&the_time);
if (c == 'd')