This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I noticed that various *printf_r routines all get bundled through _vfprintf_r, which in turn calls __swsetup (via the macro cantwrite), which in turn can call __smakebuf and _malloc_r(_REENT). But isn't this design broken, if an alternate reentrancy object (rather than _REENT) was originally passed to the *printf_r routine? In other words, should cantwrite, __swsetup, and __smakebuf all be converted to pass a reentrancy argument around?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |