commit | 361a1fa709bb7b9bee93812664ddf2711991eaef | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Oct 03 13:19:27 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Tue Oct 03 14:04:54 2017 -0700 |
tree | d09da10823156f3d88cb5089a057e87e2da4efc2 | |
parent | 494ec696f978ebd699efd32a6f25bcb83770d1fd [diff] |
fd_file: never report Close failure on linux. close() will always succeed on linux, even if it returns -1 and sets errno. Always report success, to avoid potential double closes. Test: fd_file_test on host Change-Id: I7d47b978645beff6b769f2ae05c32b0e328e433d