diff options
| author | Elliott Hughes <enh@google.com> | 2015-12-16 08:33:52 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-12-16 08:33:52 -0800 |
| commit | 391809025289e39f8e0eda3da949ea717bf67397 (patch) | |
| tree | 6cad0b5b08b4bea78a01773fc665c48a49c192c8 /base/errors_unix.cpp | |
| parent | 461a29540c01b44f07fc26ccb0d5bc7d0d92a974 (diff) | |
Make host ashmem_create_region more robust.
Don't clobber errno if mkstemp failed, always unlink, and only count
mkstemp/ftruncate failures as real failures --- if only the unlink
fails, there's no point not using what we have.
Change-Id: I6bc788682c88651a50a6316b9ca07ba07e9fefa2
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
