On Tue, Mar 01, 2011 at 10:20:29AM -0500, Chet Ramey wrote:
> *** ../bash-4.2-patched/variables.c   2011-02-25 12:07:41.000000000 -0500
> --- variables.c       2011-03-01 10:13:04.000000000 -0500
> ***************
> *** 3661,3665 ****
>   
>     v = find_variable (name);
> !   if (exported_p (v))
>       {
>         array_needs_making = 1;
> --- 3661,3665 ----
>   
>     v = find_variable (name);
> !   if (v && exported_p (v))
>       {
>         array_needs_making = 1;

Fix works on HP-UX 10.20 as well, at least with the test case I was using:

  (unset TZ; printf '%(%Y-%m-%d %H:%M:%S %Z)T\n')

Reply via email to