commit | bc237175f976eb72996c40cdf8a44393c9ac51a4 | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Mon Jul 24 14:18:16 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Tue Aug 01 10:55:49 2017 -0700 |
tree | 6d01244fd16f39977f36256e7c4c1c294b8f1df4 | |
parent | 06bad82b600493fa584794322b088fcb73787376 [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 (cherry picked from commit 0dcf8ec6a429ce4f024fe7838fee2d5636e8ba4d)