commit | 0f5a5124d21cad2ea1278a2aed44bfd40a17b542 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Thu May 29 05:02:22 2014 +0000 |
committer | Dan Albert <danalbert@google.com> | Mon Jul 28 16:07:54 2014 -0700 |
tree | 2e2d3f85f564274f573c093f7978451b586deb8e | |
parent | 16d1deacde325504e2d53aa01d3c6d54789135b2 [diff] |
Linux: Correctly identify valid error codes [syserr.errcat.objects]p4 specifies that system_category().default_error_condition(ev) map to error_condition(posv, generic_category()) if ev could map to a POSIX errno. Linux reserves up to and including 4095 for errno values, use this as a bound. This fixes syserr.errcat.objects/system_category.pass.cpp on Linux. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@209795 91177308-0d34-0410-b5e6-96231b3b80d8