This repository has been archived by the owner. It is now read-only.
Commits on Feb 2, 2012
Commits on Feb 1, 2012
  1. windows: map ERROR_ACCESS_DENIED to UV_EPERM

    Igor Zinkovsky
    Igor Zinkovsky committed Feb 1, 2012
  2. uv.h: add EPERM to errno map to fix regression

    Brandon Philips authored and isaacs committed Jan 27, 2012
    EPERM isn't mapped in so chown returns an unknown error. This is a
    regression from 0.4.12.
    philips:node/ (master*) $ cat chown.js
    var fs = require('fs')
    fs.chown("/tmp/foobar", 100, 100, function(er){ console.log(er);})
    philips:node/ (master*) $ ls -la /tmp/foobar
    total 0
    drwxr-xr-x   2 root  wheel   68 Jan 24 17:21 .
    philips:node/ (master*) $ /usr/local/Cellar/node/0.4.12/bin/node chown.js
    { stack: [Getter/Setter],
      arguments: undefined,
      type: undefined,
      message: 'EPERM, Operation not permitted \'/tmp/foobar\'',
      errno: 1,
      code: 'EPERM',
      path: '/tmp/foobar' }
    philips:node/ (master*) $ ./node chown.js
    { [Error: UNKNOWN, unknown error '/tmp/foobar'] errno: -1, code: 'UNKNOWN', path: '/tmp/foobar' }
    philips:node/ (master*) $ ./node chown.js
    { [Error: EPERM, operation not permitted '/tmp/foobar'] errno: 49, code: 'EPERM', path: '/tmp/foobar' }
Commits on Jan 31, 2012
  1. Implement udp multicast methods on windows

    piscisaureus committed Jan 27, 2012
    uv_udp_set_membership is not supported for UDP-IPv6 sockets yet.
  2. test-multicast-join: don't attempt to bind to a multicast address

    piscisaureus committed Jan 31, 2012
    Does not work on Windows. Bind to a normal interface first, then join the
    multicast group instead.
Commits on Jan 30, 2012
  1. unix: Remove assert in uv__pipe_accept

    isaacs committed Jan 30, 2012
    This assert unnecessarily prevents people from using the pipe_wrap
    class in node to send file descriptors over sockets.
Commits on Jan 28, 2012
  1. windows: fix off-by-one error in uv_fs_stat

    Brandon Benvie authored and bnoordhuis committed Jan 28, 2012
    uv__is_root typo caused incorrect fs.exists results in Node.
  2. sunos: fix uv_udp_set_ttl and uv_udp_set_multicast_loop

    bnoordhuis committed Jan 28, 2012
    It turns out that setsockopt(IP_TTL) *does* expect an int, whereas
    setsockopt(IP_MULTICAST_LOOP) needs a char.
Commits on Jan 27, 2012
  1. sunos: fix uv_udp_set_ttl and uv_udp_multicast_ttl

    bnoordhuis committed Jan 27, 2012
    The argument to setsockopt(IP_TTL|IP_MULTICAST_TTL) should be a char, not an int
    like on other Unices.
  2. Fix windows build

    piscisaureus committed Jan 27, 2012
Commits on Jan 26, 2012
  1. unix: turn on SO_REUSEPORT for UDP sockets

    bnoordhuis committed Jan 26, 2012
    Required on BSD-like systems for local UDP multicast. Without it, the bind()
    call fails with EADDRINUSE.
Commits on Jan 23, 2012
  1. Windows: Add support for interpreting axiterm-style colors.

    Brandon Benvie authored and piscisaureus committed Jan 21, 2012

    mmalecki authored and piscisaureus committed Jan 22, 2012
    With tests. Closes #295
  3. windows: set error using WSAGetLastError

    Igor Zinkovsky
    Igor Zinkovsky committed Jan 23, 2012
Commits on Jan 21, 2012
Commits on Jan 19, 2012
  1. build: don't set -mmacosx-version-min

    bnoordhuis committed Jan 19, 2012
    It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
  2. unix: don't close kqueue fd in kqueue_fork()

    bnoordhuis committed Jan 19, 2012
    The file descriptor is not inherited by the child process. Trying to close it is
    not just useless, it's actively harmful - if the close() call succeeds, it will
    have closed an altogether different file descriptor.
Commits on Jan 17, 2012
  1. unix: fix segfault in uv_guess_handle()

    bnoordhuis committed Jan 17, 2012
    Fixes #293.
Commits on Jan 14, 2012
  1. unix: fix udp recv_start refcount

    bnoordhuis committed Jan 14, 2012
    Calling uv_udp_recv_start() should not bump the event loop's reference count.
    Fixes failing test udp_ref2.
Commits on Jan 13, 2012