bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bash-5.2 Patch 32


From: Chet Ramey
Subject: Bash-5.2 Patch 32
Date: Fri, 2 Aug 2024 11:39:10 -0400

                             BASH PATCH REPORT
                             =================

Bash-Release:   5.2
Patch-ID:       bash52-032

Bug-Reported-by:        Albert Akchurin <ackbeat@gmail.com>
Bug-Reference-ID:       Mon, 11 Dec 2023 20:41:58 +0600
Bug-Reference-URL:      
https://lists.gnu.org/archive/html/bug-bash/2023-12/msg00047.html

Bug-Description:

Patch (apply with `patch -p0'):

When printing functions containing coprocesses, the displayed coproc command
has the word COPROC inserted unconditionally, resulting in function bodies
that cannot be re-read as input.

*** ../bash-5.2-patched/print_cmd.c     Mon Aug 21 16:09:44 2023
--- print_cmd.c Mon Dec 11 15:34:30 2023
***************
*** 357,361 ****
  
        case cm_coproc:
!         cprintf ("coproc %s ", command->value.Coproc->name);
          skip_this_indent++;
          make_command_string_internal (command->value.Coproc->command);
--- 357,363 ----
  
        case cm_coproc:
!         cprintf ("coproc ");
!         if (command->value.Coproc->command->type != cm_simple)
!           cprintf ("%s ", command->value.Coproc->name);
          skip_this_indent++;
          make_command_string_internal (command->value.Coproc->command);

*** ../bash-5.2/patchlevel.h    2020-06-22 14:51:03.000000000 -0400
--- patchlevel.h        2020-10-01 11:01:28.000000000 -0400
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 31
  
  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 32
  
  #endif /* _PATCHLEVEL_H_ */

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]