commit | 0dcf8ec6a429ce4f024fe7838fee2d5636e8ba4d | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Mon Jul 24 14:18:16 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Fri Jul 28 17:33:40 2017 -0700 |
tree | 9906ec16b141154b48f6ae0b838201274cc477a8 | |
parent | 0e4687aea6893115b87e647db97e211c38beee30 [diff] |
mke2fs, libext2fs: fix bugs on windows Added O_BINARY to open output files on windows, otherwise they're written as text files and have invalid data. Use '(filename):block_count:block_size' for sparse file name because windows file name can contain ':', e.g. 'c:\output_file'. Bug: 23686092 Change-Id: I731c13e5df0be8c831464c431b8949d33438fb24