From 42de4bb819da32994d35de54aec17195af6636a8 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 28 Jun 2016 16:58:58 -0700 Subject: [PATCH] doc: improve usage of `zero`/`0` PR-URL: https://github.com/nodejs/node/pull/7466 Reviewed-By: Anna Henningsen Reviewed-By: Bryan English Reviewed-By: Brian White Reviewed-By: James M Snell --- doc/api/http.md | 2 +- doc/api/process.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 7accccd9263..93d28a4f35d 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -699,7 +699,7 @@ added: v0.1.90 Begin accepting connections on the specified `port` and `hostname`. If the `hostname` is omitted, the server will accept connections on any IPv6 address (`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a -port value of zero to have the operating system assign an available port. +port value of `0` to have the operating system assign an available port. To listen to a unix socket, supply a filename instead of port and hostname. diff --git a/doc/api/process.md b/doc/api/process.md index 34738d76ad3..e8ec8a69a63 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -183,7 +183,7 @@ code without properly recovering from the exception can cause additional unforeseen and unpredictable issues. Exceptions thrown from within the event handler will not be caught. Instead the -process will exit with a non zero exit code and the stack trace will be printed. +process will exit with a non-zero exit code and the stack trace will be printed. This is to avoid infinite recursion. Attempting to resume normally after an uncaught exception can be similar to