Re: non-executable files in $PATH cause errors

2021-01-12 Thread L A Walsh
On 2021/01/09 23:52, n952162 wrote: Hello, I consider it a bug that bash (and its hash functionality) includes non-executable files in its execution look-up But bash doesn't have an execution lookup. It has a PATH lookup, and a completion lookup (for executables when appropriate), but the close

Re: Memory leak in 5.1 when redeclaring arrays

2021-01-12 Thread Chet Ramey
On 1/12/21 5:51 AM, Alexander Mescheryakov wrote: Bash Version: 5.1 Patch Level: 4 Release Status: release Description: Redeclaring array variable leads to leaked memory in bash 5.1 It is required to define var as `declare -a FOO=(a b c)` defining it simply as `FOO=(a b c)` d

Memory leak in 5.1 when redeclaring arrays

2021-01-12 Thread Alexander Mescheryakov
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/ba

Re: 5.1 locale.c typos?

2021-01-12 Thread Chet Ramey
On 1/12/21 9:09 AM, Henry Bent wrote: Well, I can report that I have a working bash 5.1 patch 4 on sparc-sun-solaris2.5.1, where this report is from, as well as Irix 4.0.5H and Tru64 V5.1B-6. None required anything other than trivial fixes. An archaeologist! -- ``The lyf so short, the craft

Re: 5.1 locale.c typos?

2021-01-12 Thread Henry Bent
On Tue, Jan 12, 2021, 08:58 Chet Ramey wrote: > On 1/11/21 8:07 PM, Henry Bent wrote: > > locale.c: In function 'set_default_locale': > > locale.c:94:3: error: 'local_shiftstates' undeclared (first use in this > > function) > > local_shiftstates = 0; > > Thanks for the report. I guess it just

Re: 5.1 locale.c typos?

2021-01-12 Thread Chet Ramey
On 1/11/21 8:07 PM, Henry Bent wrote: locale.c: In function 'set_default_locale': locale.c:94:3: error: 'local_shiftstates' undeclared (first use in this function) local_shiftstates = 0; Thanks for the report. I guess it just shows how rare non-multibyte systems are these days. Chet -- ``

Re: 5.1 locale.c typos?

2021-01-12 Thread Greg Wooledge
On Mon, Jan 11, 2021 at 08:07:58PM -0500, Henry Bent wrote: > locale.c: In function 'set_default_locale': > locale.c:94:3: error: 'local_shiftstates' undeclared (first use in this > function) >local_shiftstates = 0; >^ [...] > > These were supposed to be locale_shiftstates, no? Certainly

Re: bug-bash Digest, Vol 218, Issue 13

2021-01-12 Thread n952162
On 1/10/21 6:00 PM, bug-bash-requ...@gnu.org wrote: Message: 3 Date: Sun, 10 Jan 2021 16:49:50 +0100 From: Ángel To: bug-bash@gnu.org Subject: Re: non-executable files in $PATH cause errors Message-ID: <94646752576f053515ac2ba4656fe0c895f348ce.ca...@16bits.net> Content-Type: text/plain; charset=