diff options
author | ajmichael <ajmichael@google.com> | 2018-02-09 10:19:29 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-09 10:20:51 -0800 |
commit | ad32f62952e2b6f8293a26ea5fd677e61975c9ff (patch) | |
tree | f5036251b75b6822fba34fce5ac2fa6425e5383e /third_party/ijar | |
parent | 8cc1706ac8e9751e347720054ede3a3d88385c88 (diff) |
Make getxattr not throw an exception when attribute does not exist on Mac.
This matches the current behavior on Linux. When an extended attribute is not present on a file, getxattr on Linux returns ENODATA whereas getxattr on Mac returns ENOATTR. Previously, we were special casing ENODATA to not throw an exception but not ENOATTR. Now we treat them the same.
RELNOTES: None
PiperOrigin-RevId: 185157964
Diffstat (limited to 'third_party/ijar')
0 files changed, 0 insertions, 0 deletions