fix minor mem leaks; fix problem with parser state during a DEBUG trap with -T enabled in a shell function; fix crash with propagating array variables; fix overflow in compound array appending

This commit is contained in:
Chet Ramey
2023-06-28 14:48:09 -04:00
parent 829aad36db
commit fa98070927
15 changed files with 557 additions and 399 deletions
+24 -4
View File
@@ -3,7 +3,7 @@
</HEAD>
<BODY><TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2023 June 16<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2023 June 28<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<BR><A HREF="#index">Index</A>
@@ -2004,6 +2004,11 @@ builtin below).
Setting <B>extdebug</B> after the shell has started to execute a script,
or referencing this variable when <B>extdebug</B> is not set,
may result in inconsistent values.
Assignments to
<FONT SIZE=-1><B>BASH_ARGC</B>
</FONT>
have no effect, and it may not be unset.
<DT><B>BASH_ARGV</B>
<DD>
@@ -2030,6 +2035,11 @@ builtin below).
Setting <B>extdebug</B> after the shell has started to execute a script,
or referencing this variable when <B>extdebug</B> is not set,
may result in inconsistent values.
Assignments to
<FONT SIZE=-1><B>BASH_ARGV</B>
</FONT>
have no effect, and it may not be unset.
<DT><B>BASH_ARGV0</B>
<DD>
@@ -2094,6 +2104,11 @@ Use
</FONT>
to obtain the current line number.
Assignments to
<FONT SIZE=-1><B>BASH_LINENO</B>
</FONT>
have no effect, and it may not be unset.
<DT><B>BASH_LOADABLES_PATH</B>
<DD>
@@ -2135,6 +2150,11 @@ The shell function
<B>${FUNCNAME[</B><I>$i</I><B>]}</B> is defined in the file
<B>${BASH_SOURCE[</B><I>$i</I><B>]}</B> and called from
<B>${BASH_SOURCE[</B><I>$i+1</I><B>]}</B>.
Assignments to
<FONT SIZE=-1><B>BASH_SOURCE</B>
</FONT>
have no effect, and it may not be unset.
<DT><B>BASH_SUBSHELL</B>
<DD>
@@ -15030,7 +15050,7 @@ There may be only one active coprocess at a time.
<HR>
<TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>GNU Bash 5.3<TH ALIGN=CENTER width=33%>2023 June 16<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>GNU Bash 5.3<TH ALIGN=CENTER width=33%>2023 June 28<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<HR>
@@ -15136,7 +15156,7 @@ There may be only one active coprocess at a time.
<DT><A HREF="#lbDI">BUGS</A><DD>
</DL>
<HR>
This document was created by man2html from /usr/local/src/bash/bash-20230616/doc/bash.1.<BR>
Time: 16 June 2023 12:13:33 EDT
This document was created by man2html from /usr/local/src/bash/bash-20230626/doc/bash.1.<BR>
Time: 28 June 2023 14:10:33 EDT
</BODY>
</HTML>