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: bd0692e65a70
Choose a base ref
...
head repository: joyent/libuv
compare: fabafd6236e9
Choose a head ref
  • 2 commits
  • 12 files changed
  • 1 contributor

Commits on Aug 27, 2014

  1. unix, windows: add uv_fileno

    Returns the platform specific file descriptor for handles that are
    backed by one. The datatype is abstracted as uv_os_fd_t, which maps to
    int on Unices and HANDLE on Windows.
    
    Users can use this function to set specific socket options, for example,
    in a non portable way.
    
    This function is essentially a shotgun, you better be careful with
    whatever you do with it, don't blame me if you used it to get the fd of
    a stream, close it yourself and expect things to Just Work.
    saghul committed Aug 27, 2014
    Copy the full SHA
    4ca9a36 View commit details
    Browse the repository at this point in the history
  2. windows: make sure sockets and handles are reset on close

    Set the socket to INVALID_SOCKET foir TCP and UDP handles and
    the handle to INVALID_HANDLE_VALUE on TTY handles after closing them.
    saghul committed Aug 27, 2014
    Copy the full SHA
    fabafd6 View commit details
    Browse the repository at this point in the history