On 7/25/23 5:31 AM, Dr. Werner Fink wrote:

Thanks for the report. This was fixed several months ago.

OK ... last official patch for 5.2 is still bash52-015 :)

https://lists.gnu.org/archive/html/help-bash/2023-07/msg00078.html

But the patch is simple enough to attach.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/
*** ../bash-20230222/execute_cmd.c      Thu Feb 23 14:15:05 2023
--- execute_cmd.c       Mon Feb 27 17:53:08 2023
***************
*** 2995,2999 ****
    if (l->next)
      free (expr);
!   new = make_word_list (make_word (temp), (WORD_LIST *)NULL);
    free (temp);
  
--- 2995,2999 ----
    if (l->next)
      free (expr);
!   new = make_word_list (make_word (temp ? temp : ""), (WORD_LIST *)NULL);
    free (temp);
  

Reply via email to