Cedric Blancher writes:
> Good morning!
>
> Could bash please support x=${cmd;} alongside x=$(cmd)?
>
> x=$(cmd;} works like x=$(cmd), except that cmd does not run in
> a subshell, i.e. the stdout within ${cmd;} is redirected to the
> variable "x", but any other changes of variables (global/stati
Daniel Lublin writes:
> Apparently the patch needed to fix this was the one Florian Weimer
> posted in november 2023, in "C compatibility issue in the configure
> script" <8734oqnlou@gentoo.org> (if you don't have the mail history:
> https://lists.gnu.org/archive/html/bug-bash/2023-11/msg0010
szige...@delg0.elte.hu writes:
> 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
> -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
> -fs
Chet Ramey writes:
> On 6/29/23 11:16 PM, Eli Schwartz wrote:
>
>> I assume that, given the option exists in the configure script, there
>> are people who will want to use the option made available to them. One
>> reason might be because they are configuring it for a system that isn't
>> fussed
alex xmb ratchev writes:
> On Mon, Jun 26, 2023, 11:55 alex xmb ratchev wrote:
>
>>[snip]
> u also really dont need eval at all
>
> by the way , what does this nonsense code supposed to do
>> separate between vars for future list / deletement ?
If you read the linked bug, you'd find out.
Hi,
Sorry if this has come up before - I did take a look and couldn't find
anything.
Could bash use posix_spawn/vfork instead of the rather heavyweight
fork?
I'm aware of the work in `devel` to add nofork comsubs which is very
intriguing, but I do wonder about another suggestion: could bash use
Paul Eggert writes:
> * lib/sh/random.c (genseed): Use a different type, to pacify GCC
> "warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]" on platforms with 64-bit pointers
> and 32-bit int.
Thanks for this one. I've been meaning to report it because
-Wpointer-
Chet Ramey writes:
> On 3/24/23 1:23 AM, Sam James wrote:
>
>> I hope so. I'm waiting for a review of an issue in one of its configure
>> checks with a strict compiler too [0].
>> [0]
>> https://lists.gnu.org/archive/html/bug-bash/2023-02/msg0.html
>
&
Paul Eggert writes:
> On 3/23/23 18:23, Lawrence Velázquez wrote:
>> On Thu, Mar 23, 2023, at 9:16 PM, Paul Eggert wrote:
>>> I see that Bash won't compile with a C23 compiler, since it still uses
>>> old-style function definitions which C23 no longer supports. Is there
>>> any effort and/or int
> On 2 Feb 2023, at 05:46, Sam James wrote:
>
> dup2 requires a include. Fixes the following when diffing
> config.log
> when testing with a stricter compiler:
> ```
> -warning: call to undeclared function 'dup2'; ISO C99 and later do not
> support implicit
dup2 requires a include. Fixes the following when diffing config.log
when testing with a stricter compiler:
```
-warning: call to undeclared function 'dup2'; ISO C99 and later do not support
implicit function declarations [-Wimplicit-function-declaration]
+error: call to undeclared function 'dup
Hi folks,
I'm currently testing common Linux userland with UndefinedBehaviorSanitizer
(UBSAN, -fsanitize=undefined).
With Bash 5.2_p15, I get the following with this script:
```
$ cat /tmp/guess_suffix
guess_suffix() {
tmpdir="${TMPDIR}"/.ecompress$$.${RANDOM}
}
guess_suffix
```
It seem
> On 14 Nov 2022, at 20:03, Chet Ramey wrote:
>
> On 11/12/22 4:39 AM, Kerin Millar wrote:
>> On Tue, 8 Nov 2022 09:50:51 -0500
>> Chet Ramey wrote:
>>> BASH PATCH REPORT
>>> =
>>>
>>> Bash-Release: 5.2
>>> Patch-ID: bash52-009
>> Are there any plans to backport the "f
> On 16 Apr 2022, at 17:11, Chet Ramey wrote:
>
> On 4/16/22 1:45 AM, Sam James wrote:
>
>> Bash Version: 5.2
>> Patch Level: 0
>> Release Status: beta
>> Description:
>> Bash crashes when running compgen -c -X a.
>>
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -O2 -pipe -march=native -ggdb3
uname output: Linux 2021-10-24 5.15.34-gentoo-dist-hardened #1 SMP Sat Apr 16
02:20:51 BST 2022 x86_64 AMD Ryzen 9
Hi,
Is there a plan for a 2nd 5.2 alpha? A number of reported bugs have been
addressed since and it may help resolve duplicates.
Best,
sam
signature.asc
Description: Message signed with OpenPGP
> On 22 Jan 2022, at 18:52, Oğuz wrote:
> 22 Ocak 2022 Cumartesi tarihinde Chet Ramey yazdı:
>> Because they should behave identically to other forms of quoting that bash
>> handles in here-documents. Why should $'' be different from '' only within
>> here-document bodies?
> Because it'd be use
17 matches
Mail list logo