Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1422)

Unified Diff: src/untrusted/irt/irt_pnacl_translator_link.c

Issue 984713003: Add an IRT interface for subzero/compiler to serve_translate_requests. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: c void Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/irt/irt_pnacl_translator_compile.c ('k') | src/untrusted/irt/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt_pnacl_translator_link.c
diff --git a/src/untrusted/irt/irt_pnacl_translator.c b/src/untrusted/irt/irt_pnacl_translator_link.c
similarity index 93%
rename from src/untrusted/irt/irt_pnacl_translator.c
rename to src/untrusted/irt/irt_pnacl_translator_link.c
index 4ed99359fc01b92d2b1114f24db05b5abeb8c96c..0577e32bc883704fda4acb3fcaf2f86d3906d89f 100644
--- a/src/untrusted/irt/irt_pnacl_translator.c
+++ b/src/untrusted/irt/irt_pnacl_translator_link.c
@@ -48,7 +48,9 @@ static void serve_link_request(int (*func)(int nexe_fd,
if (!NaClSrpcModuleInit()) {
NaClLog(LOG_FATAL, "NaClSrpcModuleInit() failed\n");
}
- NaClSrpcAcceptClientConnection(srpc_methods);
+ if (!NaClSrpcAcceptClientConnection(srpc_methods)) {
+ NaClLog(LOG_FATAL, "NaClSrpcAcceptClientConnection() failed\n");
+ }
}
const struct nacl_irt_private_pnacl_translator_link
« no previous file with comments | « src/untrusted/irt/irt_pnacl_translator_compile.c ('k') | src/untrusted/irt/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698