Repository navigation
mkfifo: allow negative values for -m/--mode - #16017
Merged
Merged
Conversation
Logic769
force-pushed
the
mkfifo-allow-negative-mode
branch
from
October 30, 2026 13:03
11f78a9 to
063c060
Compare
sylvestre
reviewed
Oct 30, 2026
sylvestre
reviewed
Oct 30, 2026
Contributor
Author
|
Switched the test to |
Logic769
force-pushed
the
mkfifo-allow-negative-mode
branch
from
November 2, 2026 01:02
e7556f4 to
90602bf
Compare
sylvestre
reviewed
Nov 2, 2026
sylvestre
reviewed
Nov 2, 2026
Logic769
force-pushed
the
mkfifo-allow-negative-mode
branch
2 times, most recently
from
November 2, 2026 14:15
1e5af24 to
ae176da
Compare
Contributor
|
a bunch of jobs are failing |
Logic769
force-pushed
the
mkfifo-allow-negative-mode
branch
from
November 3, 2026 15:43
781bc24 to
f0ceee6
Compare
Contributor
|
Thanks for your PR |
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.
Problem
mkfifo -m -1 fifois rejected by the argument parser because-1is treated as another option, whereas GNUmkfifoaccepts a negative numeric mode.Change
Set
.allow_hyphen_values(true)on the-m/--modeargument so that values like-1are parsed as the mode value instead of a flag.Tests
Added
test_mode_negative_valueintests/by-util/test_mkfifo.rs, which checks that the FIFO is created.Closes #16000