sometimes from fgetc (EOL chars? EOF?) is \r treated like a \n or interpreted somehow or filtered?
I check file sizes and they do not match fgetc() char counts for the file. while (!feof(f)) { is at the top of course.
this is causing a char count hemhorrage for wc.
not sure, but I think it's switching on a '-' as well. should not happen in fgetc().
Last edit: Jim Michaels 2017-03-07
Again, ... please stop to ask on bug forum about your lack of reading up API.
Ask such question on general ML, or ask them on IRC, but don't use our bug-tracker for this!
Just for the records, this is related to TEXT mode streams.