Skip to content

Use -1 as "This fd is closed" instead of 0#6

Open
Jille wants to merge 2 commits intobertha:masterfrom
Jille:master
Open

Use -1 as "This fd is closed" instead of 0#6
Jille wants to merge 2 commits intobertha:masterfrom
Jille:master

Conversation

@Jille
Copy link
Member

@Jille Jille commented Apr 27, 2012

Because 0 can be a valid fd.

@Jille
Copy link
Member Author

Jille commented May 12, 2012

Bump.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is blocking, right? Would a async read do it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 740 marks the file as non-blocking.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A, right :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants