------- Additional Comments From pcarlini at suse dot de 2005-04-07 09:14 ------- > The problem is that the native read translates the input \r\n to > \n, returning the number of chars written,
This is a very fundamental assumption to break, which is likely to case much more problems elsewhere, maybe only latent now. The correct solution cannot be just working around it in this function, instead something like using unconditionally binary mode on mingw + libstdc++-v3. Ideas? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20806