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