9f0f015c4daf7d3eacb21c19b4f3912cac56e68e
The current behavior is not standards conformant, and will cause the format operation to result in empty text as glibc fails any calls to getwc against a narrow stream with WEOF. Additionally, narrow write operations against a wide stream appears to bypass the buffer, causing incorrect formatting results. Fix this by changing all write operations against the reformatted output file stream to be wide operations, and reopening the temporary input file before performing any wide read operations.
Description
No description provided
Languages
C
80.1%
omnetpp-msg
8.9%
C++
3.8%
Shell
2%
Roff
1.6%
Other
3.2%