summaryrefslogtreecommitdiff
path: root/tests/sys_socket_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-18 17:28:32 -0700
committerElliott Hughes <enh@google.com>2014-08-28 16:37:09 -0700
commit416d7ddaff0946d480b6aa945a741b3eeaca5569 (patch)
treed3fa6382f7d6d26ab7e3ecb95a715328e5f50b5e /tests/sys_socket_test.cpp
parentf4e721dd519db89c504c8944763811a3df956b32 (diff)
Add GNU-compatible strerror_r.
We already had the POSIX strerror_r, but some third-party code defines _GNU_SOURCE and expects to get the GNU strerror_r instead. This exposed a bug in the libc internal logging functions where unlike their standard brethren they wouldn't return the number of bytes they'd have liked to have written. Bug: 16243479 Change-Id: I1745752ccbdc569646d34f5071f6df2be066d5f4
Diffstat (limited to 'tests/sys_socket_test.cpp')
0 files changed, 0 insertions, 0 deletions