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

Unified Diff: src/trusted/desc/nacl_desc_imc.c

Issue 3687005: Report EMSGSIZE when appropriate for sendmsg (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 10 years, 2 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 | « no previous file | src/trusted/desc/nrd_xfer.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/desc/nacl_desc_imc.c
===================================================================
--- src/trusted/desc/nacl_desc_imc.c (revision 3440)
+++ src/trusted/desc/nacl_desc_imc.c (working copy)
@@ -202,7 +202,7 @@
#if NACL_WINDOWS
return -NaClXlateSystemError(GetLastError());
#elif NACL_LINUX || NACL_OSX
- return -errno;
+ return -NaClXlateErrno(errno);
#else
# error "Unknown target platform: cannot translate error code(s) from SendMsg"
#endif
@@ -255,7 +255,7 @@
#if NACL_WINDOWS
return -NaClXlateSystemError(GetLastError());
#elif NACL_LINUX || NACL_OSX
- return -errno;
+ return -NaClXlateErrno(errno);
#else
# error "Unknown target platform: cannot translate error code(s) from SendMsg"
#endif
« no previous file with comments | « no previous file | src/trusted/desc/nrd_xfer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698