Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: joyent/libuv
base: 69ab328d9f38
Choose a base ref
...
head repository: joyent/libuv
compare: 9614d5113526
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 28, 2012

  1. unix: reset errno when using sendfile emulation

    A common way to check if a uv_fs_t request failed is to check that
    req->errorno != 0.
    
    With uv_fs_sendfile(), when the sendfile() syscall fails, req->errorno is set
    to (for example) ENOTSOCK, even when the emulation code path succeeds.
    
    Zero errno before the call to uv__fs_sendfile_emul() to prevent that from
    happening.
    saghul authored and bnoordhuis committed Dec 28, 2012
    Copy the full SHA
    9614d51 View commit details
    Browse the repository at this point in the history