diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-07 05:13:32 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-01-07 05:13:32 +0000 |
commit | 49a10e1c07bdda958fee7ddc9333e50cb8d08507 (patch) | |
tree | 5d3ce965d5184a89e50aebf71fab0dec725b255f /lldb/packages/Python/lldbsuite/test/python_api/value | |
parent | ee5cb65ada184a3426bae07834066464978eab33 (diff) | |
download | bcm5719-llvm-49a10e1c07bdda958fee7ddc9333e50cb8d08507.tar.gz bcm5719-llvm-49a10e1c07bdda958fee7ddc9333e50cb8d08507.zip |
system_error: correct ELAST emulation on Windows
ELAST should point to the last valid error string value. However,
`_sys_nerr` provides the number of elements in the errlist array. Since
the index is 0-based, this is off-by-one. Adjust it accordingly.
Thanks to David Majnemer for catching this!
llvm-svn: 291336
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value')
0 files changed, 0 insertions, 0 deletions