Skip to content

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

Open
Jille wants to merge 2 commits into
bertha:masterfrom
Jille:master
Open

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

Conversation

@Jille

@Jille Jille commented Apr 27, 2012

Copy link
Copy Markdown
Member

Because 0 can be a valid fd.

@Jille

Jille commented May 12, 2012

Copy link
Copy Markdown
Member Author

Bump.

Comment thread berthad-vfs.c

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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