On Sun, Oct 10, 2021 at 9:11 PM Eli Schwartz <eschwa...@archlinux.org> wrote:
> So I wonder, if bash already in this exact case attempts to open() the
> file and read() it to look for a shebang, what's the harm in assuming
> (or checking) that it exists in this patch?

i guess, you are right.
i, on the other hand wonder, if exec could return ELIBBAD.

regards, Dmitry

  • Misleading... Andrea Monaco
    • Re: M... Alex fxmbsw7 Ratchev
    • Re: M... Chet Ramey
      • R... Ilkka Virta
        • ... Dennis Williamson
        • ... Chet Ramey
          • ... Alex fxmbsw7 Ratchev
            • ... Ángel
              • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
                • ... Eli Schwartz
                • ... Dmitry Goncharov via Bug reports for the GNU Bourne Again SHell
                • ... Robert Elz
                • ... Chet Ramey
                • ... Robert Elz
                • ... Alex fxmbsw7 Ratchev
                • ... Ángel
                • ... Eli Schwartz
    • Re: M... Andrea Monaco
      • R... Alex fxmbsw7 Ratchev

Reply via email to