Repository navigation
Adding proper fsync errors signaling for pipes. - #8631
Merged
sbc100 merged 2 commits intoMay 17, 2019
Merged
Conversation
Adding [email protected] to AUTHOURS file.
Returning EINVAL error when trying to call fsync on fd representing UNIX pipe. This fixes http://posixtest.sourceforge.net/ fsync/7-1 test.
sbc100
approved these changes
May 17, 2019
Member
|
This seems to have broken CI. Oddly no tests were run on it here, I'm not sure why? (I don't see After it landed on incoming, tests broke there, and the error message mentions If we can't fix this quickly, we can revert it. |
kripken
reviewed
May 17, 2019
| }); | ||
| #else | ||
| if (stream.stream_ops.fsync) { | ||
| return -stream.stream_ops.fsync(stream); |
Member
There was a problem hiding this comment.
indentation looks wrong here - should be 2 spaces, not 4.
We need to fix CI for this PR anyhow, can fix the indentation
Collaborator
There was a problem hiding this comment.
Very strange. I'll guess I'll revert. @abujalski can you re-upload a new PR?
VirtualTim
pushed a commit
to VirtualTim/emscripten
that referenced
this pull request
May 21, 2019
Returning EINVAL error when trying to call fsync on fd representing UNIX pipe. This fixes http://posixtest.sourceforge.net/ fsync/7-1 test.
VirtualTim
added a commit
to VirtualTim/emscripten
that referenced
this pull request
May 23, 2019
…ripten-core#8631)"" This reverts commit 79a1955.
VirtualTim
added a commit
to VirtualTim/emscripten
that referenced
this pull request
May 23, 2019
…ripten-core#8631)"" This reverts commit 79a1955.
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this pull request
Dec 23, 2020
Returning EINVAL error when trying to call fsync on fd representing UNIX pipe. This fixes http://posixtest.sourceforge.net/ fsync/7-1 test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change sets properly errno flag for fsync function called on fd representing pipe.
This change fixes http://posixtest.sourceforge.net/ fsync/7-1 test.