summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-07 05:13:32 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-07 05:13:32 +0000
commit49a10e1c07bdda958fee7ddc9333e50cb8d08507 (patch)
tree5d3ce965d5184a89e50aebf71fab0dec725b255f /lldb/packages/Python/lldbsuite/test/python_api
parentee5cb65ada184a3426bae07834066464978eab33 (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud