Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:886-bug-report命名管道读行为不符合posix规范问题 #1060

Conversation

xiaolin2004
Copy link
Collaborator

@xiaolin2004 xiaolin2004 commented Nov 27, 2024

测试结果:
期望情况
非阻塞模式下

========== Testing Nonblocking Mode ==========

--- Testing: No readers (FIFO never had readers) (nonblocking=1) ---
Result: Failed to open FIFO for writing (ENXIO: No readers).

--- Testing: Reader exists but disconnects (nonblocking=1) ---
Result: Write failed with EPIPE (no readers available).

--- Testing: Active reader exists (nonblocking=1) ---
Result: Write succeeded. Bytes written: 13

阻塞模式下

========== Testing Blocking Mode ==========

--- Testing: No readers (FIFO never had readers) (nonblocking=0) ---
Result: Failed to open FIFO for writing (ENXIO: No readers).

--- Testing: Reader exists but disconnects (nonblocking=0) ---
Result: Write failed with EPIPE (no readers available).

--- Testing: Active reader exists (nonblocking=0) ---
Result: Write succeeded. Bytes written: 13

测试结果(截图)
image
image

@dragonosbot
Copy link

@xiaolin2004: no appropriate reviewer found, use r? to override

@github-actions github-actions bot added the ambiguous The title of PR/issue doesn't match the format label Nov 27, 2024
@dragonosbot dragonosbot added the S-等待审查 Status: 等待assignee以及相关方的审查。 label Nov 27, 2024
@xiaolin2004 xiaolin2004 added Bug fix A bug is fixed in this pull request A-IPC Area: 进程间通信 and removed ambiguous The title of PR/issue doesn't match the format labels Nov 27, 2024
@xiaolin2004 xiaolin2004 changed the title fix 886 bug report 命名管道行为与linux不一致 fix 886 bug report Nov 27, 2024
@github-actions github-actions bot added ambiguous The title of PR/issue doesn't match the format and removed Bug fix A bug is fixed in this pull request labels Nov 27, 2024
@xiaolin2004 xiaolin2004 changed the title fix 886 bug report fix-886-bug-report Nov 27, 2024
@xiaolin2004 xiaolin2004 requested review from Samuka007 and removed request for fslongjin November 27, 2024 05:52
@xiaolin2004 xiaolin2004 linked an issue Nov 27, 2024 that may be closed by this pull request
@xiaolin2004 xiaolin2004 changed the title fix-886-bug-report fix:886-bug-report命名管道读行为不符合posix规范问题 Nov 27, 2024
@xiaolin2004 xiaolin2004 removed the ambiguous The title of PR/issue doesn't match the format label Nov 27, 2024
@github-actions github-actions bot added the Bug fix A bug is fixed in this pull request label Nov 27, 2024
@xiaolin2004 xiaolin2004 deleted the 886-bug-report-命名管道行为与linux不一致 branch November 27, 2024 06:01
@xiaolin2004 xiaolin2004 restored the 886-bug-report-命名管道行为与linux不一致 branch November 27, 2024 06:02
@xiaolin2004
Copy link
Collaborator Author

close due to name change of branch

@xiaolin2004 xiaolin2004 deleted the 886-bug-report-命名管道行为与linux不一致 branch November 28, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-IPC Area: 进程间通信 Bug fix A bug is fixed in this pull request S-等待审查 Status: 等待assignee以及相关方的审查。
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants