commit | 416d7ddaff0946d480b6aa945a741b3eeaca5569 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Aug 18 17:28:32 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Aug 28 16:37:09 2014 -0700 |
tree | d3fa6382f7d6d26ab7e3ecb95a715328e5f50b5e | |
parent | f4e721dd519db89c504c8944763811a3df956b32 [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