Re: [PATCH] Fix stdio init handling

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 07/06/2022 08:18, Sebastian Huber wrote:
> Hello Hans-Peter,
> 
> sorry for breaking your Newlib configuration. I was able to reproduce 
> the issue in RTEMS with a corresponding configuration. The problem 
> didn't show up in our tests since in RTEMS __getreent() returns a 
> thread-specific reentrancy structure. With
> 
> struct _reent *
> __getreent (void)
> {
>    return _impure_ptr;
> }
> 
> your test case reproduced the issue. Could you please try the attached 
> patch?

I checked in my attempt to fix this issue:

https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=14fc9be2349259ed4754457775ab4a14069395c5

Please let me know if you still have problems.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.