commit | de11114d03ba1034e5e161b5eaf217d5a6cb06b8 | [log] [tgz] |
---|---|---|
author | Hridya Valsaraju <hridya@google.com> | Wed Apr 03 17:57:00 2019 -0700 |
committer | Hridya Valsaraju <hridya@google.com> | Wed Apr 03 18:14:14 2019 -0700 |
tree | fad737f7740e662a47e86eec0c4c0326ebae4353 | |
parent | 4003637a6115c18c05a1969fd2420195e080c4e9 [diff] |
Open image files in binary mode This is required for read() to function correctly in Windows since it behaves differently in text mode and binary mode and may cause unpredictable behavior depending on the contents of the image file. Bug: 129281908 Test: fastboot.exe flashall Change-Id: I64370af44a050bafea60ff1b0b2be18cc531480a