spiffo, dan, jolly good show :) that fixed both #16982 _and_ #16970 - the character reading bit - with the exception that the ftell() position, which was wrong _before_ this patch, is still also wrong, as you suspected.
l. On Sat, Jan 17, 2009 at 7:15 PM, Dan Kegel <d...@kegel.com> wrote: > Luke wrote: >> [MSVCRT__filbuf() needs to strip CR's.] > > Here's a quickie patch that kind of gets there, > but fails an ftell test. My in-laws arrive in ten > minutes, so I probably can't go any further on > it this weekend. > > There are probably other simplifications that > could be made beyond this, I didn't rip out > all the scattered places that were involved > in \r removal. > - Dan >