Reset the stream orientation to 0 (unoriented) in freopen(), as required by the C standard.
Reset the stream orientation to 0 (unoriented) in freopen(), as required
by the C standard.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase