On Sat, Aug 1, 2015 at 6:56 AM, JonY <jo...@users.sourceforge.net> wrote: > > On 7/23/2015 06:24, JonY wrote: > > Hi, > > > > Patch introduces a new macro __MINGW_PRINTF_LOCKING for fprintf and > > vfprintf so when called on the same FILE stream, the operations are not > > overlapped. __USE_MINGW_ANSI_STDIO must also be set for the new macro to > > take effect. > > > > The reason why it is done in such a way is so programs that already > > doing their own locking will not be affected. > > > > Idea from user Mateusz of Sourceforge. Patch OK? > > > > Ping?
I like the idea. But AFAIK, this code is not portable since it's neither a standard extension nor the standards of practice. ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public