Re: Building bash 5.3, rc2, warning about mktemp()

2025-06-10 Thread Robert Elz
Date:Tue, 10 Jun 2025 18:29:00 +0300 From:=?UTF-8?B?T8SfdXo=?= Message-ID: The original response was fine. | This came up a few times and the answer is always along the lines of "it | works fine, ignore the warning". And beyond that, it isn't bash that has cha

Re: There's no way to declare a function local to another function.

2025-06-10 Thread Robert Elz
Date:Tue, 10 Jun 2025 17:34:44 -0400 From:Zachary Santer Message-ID: | Functions can be declared inside of other functions, so I thought | doing the following was pretty slick: Function definitions aren't declarations in any sense similar to other programming l

There's no way to declare a function local to another function.

2025-06-10 Thread Zachary Santer
Functions can be declared inside of other functions, so I thought doing the following was pretty slick: main () { [...] case "${var}" in ( 'case 1' ) func1 () { [...] } func2 () { [...] } ;; ( 'case 2' ) func1 () { [...] } func2 () {

Re: Building bash 5.3, rc2, warning about mktemp()

2025-06-10 Thread Stan Marsh
Somebody flitted: > Nah This is not an answer. This is just someone blowing off steam. = Please do not send me replies to my posts on the list. I always read the replies via the web archive, so CC'ing to me is unnec

Re: Building bash 5.3, rc2, warning about mktemp()

2025-06-10 Thread Oğuz
On Tuesday, June 10, 2025, Stan Marsh wrote: > > Should I be concerned about the warning? > Nah -- Oğuz

Re: Building bash 5.3, rc2, warning about mktemp()

2025-06-10 Thread Oğuz
On Tuesday, June 10, 2025, Stan Marsh wrote: > > This is not an answer. This is just someone blowing off steam. > This came up a few times and the answer is always along the lines of "it works fine, ignore the warning". Here's a link to a recent discussion about it: https://lists.gnu.org/archive

Building bash 5.3, rc2, warning about mktemp()

2025-06-10 Thread Stan Marsh
See below. As far as I can tell, it built OK. Should I be concerned about the warning? --- Cut Here --- rm -f bash gcc -std=gnu11 -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -g -O2 -o bash shell.o eval.o y.tab.o general.o make