bug-bash
[Top][All Lists]
Advanced

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

Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exist


From: Oğuz
Subject: Re: [5.3-alpha] ">& /some/file" would fail when /some/file already exists
Date: Fri, 26 Apr 2024 06:02:52 +0300

On Fri, Apr 26, 2024 at 1:17 AM Grisha Levit <grishalevit@gmail.com> wrote:
> Actually, I see this on Ubuntu 22.04 but not on macOS.
On Linux, O_EXCL and RX_EXPANDED (a flag used by bash to signal that
the redirection word is already expanded) has the same value. I don't
know why bash doesn't clear its internal flags before calling open.



reply via email to

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