Revert "doc: Removed use of gendered pronouns" · joyent/libuv@804d40e

2 min read Original article ↗

This repository was archived by the owner on May 4, 2018. It is now read-only.

File tree

2 files changed

lines changed

2 files changed

lines changed

Original file line numberDiff line numberDiff line change

@@ -302,7 +302,7 @@ static ssize_t uv__fs_sendfile_emul(uv_fs_t* req) {

302302

*

303303

* 1. Read errors are reported only if nsent==0, otherwise we return nsent.

304304

* The user needs to know that some data has already been sent, to stop

305-

* them from sending it twice.

305+

* him from sending it twice.

306306

*

307307

* 2. Write errors are always reported. Write errors are bad because they

308308

* mean data loss: we've read data but now we can't write it out.

Original file line numberDiff line numberDiff line change

@@ -679,8 +679,8 @@ static void uv__write_req_finish(uv_write_t* req) {

679679

/* Only free when there was no error. On error, we touch up write_queue_size

680680

* right before making the callback. The reason we don't do that right away

681681

* is that a write_queue_size > 0 is our only way to signal to the user that

682-

* they should stop writing - which they should if we got an error. Something

683-

* to revisit in future revisions of the libuv API.

682+

* he should stop writing - which he should if we got an error. Something to

683+

* revisit in future revisions of the libuv API.

684684

*/

685685

if (req->error == 0) {

686686

if (req->bufs != req->bufsml)