[PATCH] D17135: [Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPS
Mohit Bhakkad via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 16 00:38:12 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL260946: [Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPS (authored by mohit.bhakkad).
Changed prior to commit:
http://reviews.llvm.org/D17135?vs=47619&id=48047#toc
Repository:
rL LLVM
http://reviews.llvm.org/D17135
Files:
compiler-rt/trunk/lib/msan/tests/msan_test.cc
Index: compiler-rt/trunk/lib/msan/tests/msan_test.cc
===================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc
@@ -1117,8 +1117,8 @@
struct hostent he;
struct hostent *result;
int err;
- int res = gethostbyname_r("localhost", &he, buf, sizeof(buf), &result, &err);
- ASSERT_EQ(ERANGE, res);
+ gethostbyname_r("localhost", &he, buf, sizeof(buf), &result, &err);
+ ASSERT_EQ(ERANGE, errno);
EXPECT_NOT_POISONED(err);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17135.48047.patch
Type: text/x-patch
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160216/f15dd325/attachment.bin>
More information about the llvm-commits
mailing list