diff options
author | Elliott Hughes <enh@google.com> | 2016-08-12 16:28:36 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-08-12 16:28:36 -0700 |
commit | f8ebaa498562cfb199a9b28da5eae2770f9b3163 (patch) | |
tree | de04a55521fac877356a92a925b3b5487d39d46c /tests/string_test.cpp | |
parent | cea5c8a6099cff4f3ceccb3309a522bb1cf377b4 (diff) |
Fix mktime's errno behavior.
Don't touch errno on success, do set it to EOVERFLOW (the only allowed errno
value according to POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/mktime.html)
on failure.
Bug: http://b/30477946
Change-Id: Ia915c7b9c3bfcd2f9025530cf5b068fe4dd4fd9e
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions