tsfile
tsfile copied to clipboard
[CPP] Inconsistent output files under win and unix
The contents of the generated files of the programs in example and benchmark are inconsistent between unix and win. In Windows, if we open a file without O_BINARY flags, the system will replace '\n' with '\r\n' when the file is written
Yes, it was an issue we met in IoTDB as well.
This PR of IoTDB fixed that problem. We may solve it in TsFile by the same way. https://github.com/apache/iotdb/pull/12706/files