Skip to content
This repository has been archived by the owner on Apr 22, 2023. 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: nodejs/node-v0.x-archive
base: 9b8fcff43575
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 8aac118b69a1
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Dec 2, 2013

  1. process: document kill(0), disallow kill(O_RDWR)

    The null signal test existed, but only tested the case where the target
    process existed, not when it did not exist.
    
    Also clarified that SIGUSR1 is reserved by Node.js only for receiveing,
    its not at all reserved when sending a signal with kill().
    
    kill(pid, 'O_RDWR'), or any other node constant, "worked". I fixed this
    by also checking for 'SIG'. The same as done in the isSignal() function.
    Now the signal names supported by process.kill() are the same as those
    supported by process.on().
    sam-github authored and trevnorris committed Dec 2, 2013
    Copy the full SHA
    8aac118 View commit details
    Browse the repository at this point in the history