![]() 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. |
||
---|---|---|
cde |