Permalink
Commits on Mar 18, 2013
  1. @piscisaureus
Commits on Feb 2, 2012
  1. @piscisaureus
Commits on Feb 1, 2012
  1. windows: map ERROR_ACCESS_DENIED to UV_EPERM

    Igor Zinkovsky committed Feb 1, 2012
  2. @isaacs
  3. @isaacs

    uv.h: add EPERM to errno map to fix regression

    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 .
    
    0.4
    ---
    
    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' }
    
    master
    ------
    
    philips:node/ (master*) $ ./node chown.js
    { [Error: UNKNOWN, unknown error '/tmp/foobar'] errno: -1, code: 'UNKNOWN', path: '/tmp/foobar' }
    
    AFTER
    -----
    
    philips:node/ (master*) $ ./node chown.js
    { [Error: EPERM, operation not permitted '/tmp/foobar'] errno: 49, code: 'EPERM', path: '/tmp/foobar' }
    Brandon Philips committed with isaacs Jan 27, 2012
Commits on Jan 31, 2012
  1. @piscisaureus

    Implement udp multicast methods on windows

    uv_udp_set_membership is not supported for UDP-IPv6 sockets yet.
    piscisaureus committed Jan 27, 2012
  2. @piscisaureus
  3. @piscisaureus

    test-multicast-join: don't attempt to bind to a multicast address

    Does not work on Windows. Bind to a normal interface first, then join the
    multicast group instead.
    piscisaureus committed Jan 31, 2012
  4. @bnoordhuis
  5. @bnoordhuis
  6. @piscisaureus
Commits on Jan 30, 2012
  1. @bnoordhuis
  2. @bnoordhuis
  3. @bnoordhuis

    unix: add uv__dup()

    bnoordhuis committed Jan 21, 2012
  4. @bnoordhuis
  5. @bnoordhuis

    import/export streams accross loops

    Igor Zinkovsky committed with bnoordhuis Jan 20, 2012
  6. @bnoordhuis

    unix: add UNREACHABLE() macro

    Asserts and aborts when program flow reaches a place it shouldn't.
    bnoordhuis committed Jan 21, 2012
  7. @isaacs

    unix: Remove assert in uv__pipe_accept

    This assert unnecessarily prevents people from using the pipe_wrap
    class in node to send file descriptors over sockets.
    isaacs committed Jan 30, 2012
Commits on Jan 28, 2012
  1. @bnoordhuis
  2. @Benvie @bnoordhuis

    windows: fix off-by-one error in uv_fs_stat

    uv__is_root typo caused incorrect fs.exists results in Node.
    Benvie committed with bnoordhuis Jan 28, 2012
  3. @bnoordhuis

    sunos: fix uv_udp_set_ttl and uv_udp_set_multicast_loop

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

    sunos: fix uv_udp_set_ttl and uv_udp_multicast_ttl

    The argument to setsockopt(IP_TTL|IP_MULTICAST_TTL) should be a char, not an int
    like on other Unices.
    bnoordhuis committed Jan 27, 2012
  2. @bnoordhuis
  3. @bnoordhuis
  4. @piscisaureus @bnoordhuis
  5. @piscisaureus

    Fix windows build

    piscisaureus committed Jan 27, 2012
Commits on Jan 26, 2012
  1. @bnoordhuis

    unix: turn on SO_REUSEPORT for UDP sockets

    Required on BSD-like systems for local UDP multicast. Without it, the bind()
    call fails with EADDRINUSE.
    bnoordhuis committed Jan 26, 2012
Commits on Jan 23, 2012
  1. @bnoordhuis
  2. @bnoordhuis
  3. @bnoordhuis
  4. @piscisaureus
  5. @Benvie @piscisaureus
  6. @mmalecki @piscisaureus

    unix: map `ENAMETOOLONG` to `UV_ENAMETOOLONG`

    With tests. Closes #295
    mmalecki committed with piscisaureus Jan 22, 2012
  7. windows: set error using WSAGetLastError

    Igor Zinkovsky committed Jan 23, 2012