[PATCH] D42068: Add new interceptors for pwcache(3)-style functions

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 00:05:23 PST 2018


krytarowski added inline comments.


================
Comment at: compiler-rt/trunk/test/sanitizer_common/TestCases/NetBSD/gid_from_group.cc:10
+  if (gid_from_group("nobody", &nobody) == -1)
+    exit(1);
+
----------------
vitalybuka wrote:
> why exit and not just return 1, return 0?
I've followed other tests with this exit(3) call. I don't think it's worth the effort to change it.


Repository:
  rL LLVM

https://reviews.llvm.org/D42068





More information about the llvm-commits mailing list