Uh oh!
There was an error while loading. Please reload this page.
libnative/io/net, file_unix: fix offset parameters. - #18658
Conversation
Also introduce new hellper functions check_error() and check_error_unit(). Signed-off-by: NODA, Kai <nodakai@gmail.com>
rust-highfive
commented
Nov 5, 2014
alexcrichton
commented
Nov 7, 2014
I think for now this may want to wait until #18557 is merged, and in the meantime is there any way that we can test this functionality? This all seems incredibly subtle and very easy to mess up, and it would be very nice to have regression tests making sure that we're not going too far into the weeds here. I'm also a little uncomfortable with how these functions are turning out generically, there's a growing number of functions in libnative to deal with errors ( |
nodakai
commented
Nov 8, 2014
@alexcrichton I wasn't aware The Great I/O Reorganization was in progress when I submitted this patch. I'll wait for its completion and will work on regression tests meantime. I'll also address the issue of prolification of error check utilites. |
alexcrichton
commented
Nov 9, 2014
Aha! It has now landed. Feel free to ping me when this is rebased and I'll take another look. Thanks @nodakai! |
steveklabnik
commented
Dec 2, 2014
@nodakai what's up with this PR? |
nodakai
commented
Dec 2, 2014
@steveklabnik I've never forget this but checking consistency of error code handling for tons of system calls takes me long... |
alexcrichton
commented
Dec 8, 2014
Closing due to inactivity, but feel free to reopen with a rebase! |
Fixes#17791