summaryrefslogtreecommitdiff
path: root/tests/string_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-07 19:15:10 -0800
committerElliott Hughes <enh@google.com>2014-11-07 19:15:10 -0800
commit0ac0df84c7e96cca6abb800488462b7dfba86622 (patch)
tree5d6b5913a6dc04f0e56ff25bec72b95bfe2bb44d /tests/string_test.cpp
parent47b9083b582bc8f7aefa0b6b4df051cba835ac0f (diff)
Fix struct stat to match POSIX 2008.
Our representation of sub-second times matched the Linux kernel, and we provided macros for glibc source compatibility. This change switches us over to match POSIX 2008, adds the macros they insist on (for compatibility with earlier versions of POSIX), and also adds macros for compatibility with any code that expects the kernel or old bionic names. Unfortunately this breaks strace which defines its own structures using the kernel names, and thus implicitly assumes that there are no macros with those names, but this does allow the rest of the tree to build. Bug: 18298106 Change-Id: Ibfa8c21cb2a2566091ef3dc2019a9f78d2de2991
Diffstat (limited to 'tests/string_test.cpp')
0 files changed, 0 insertions, 0 deletions