Re: Bug in posix_spawn.c with patch
Jeff Johnston <[email protected]> Fri, 15 May 2026 14:29:07 -0400
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <CAOox84uGgB_kAxjkF_LtQ3xxjWvvCS-g0xx7d1Yhk-8h4BeBvw@mail.gmail.com> |
Patch applied. Thanks. -- Jeff J. On Fri, May 15, 2026 at 2:56 AM Maxim Solodovnik <[email protected]> wrote: > Hello, > > I believe there is a bug in `newlib/libc/posix/posix_spawn.c` > closing curly bracket for `switch` at line 228 > is inside `#ifdef HAVE_FCHDIR` block > thus the file is NOT compilable if `HAVE_FCHDIR` is NOT defined > the patch against `main` branch is attached :) > > -- > Best regards, > Maxim >