Skip to content

mkfifo: fix mismatched types error on freebsd - #14259

Merged
sylvestre merged 1 commit into
uutils:mainfrom
xtqqczze:patch-src_uu_mkfifo_src_mkfifo.rs
Aug 30, 2026
Merged

mkfifo: fix mismatched types error on freebsd#14259
sylvestre merged 1 commit into
uutils:mainfrom
xtqqczze:patch-src_uu_mkfifo_src_mkfifo.rs

Conversation

@xtqqczze

Copy link
Copy Markdown
Contributor
error[E0308]: mismatched types
   --> src/uu/mkfifo/src/mkfifo.rs:159:58
    |
159 |     fs::mkfifoat(fs::CWD, path, Mode::from_bits_truncate(mode)).map_err(Into::into)
    |                                 ------------------------ ^^^^ expected `u16`, found `u32`
    |                                 |
    |                                 arguments to this function are incorrect
    |

@xtqqczze

This comment was marked as outdated.

```
error[E0308]: mismatched types
   --> src/uu/mkfifo/src/mkfifo.rs:159:58
    |
159 |     fs::mkfifoat(fs::CWD, path, Mode::from_bits_truncate(mode)).map_err(Into::into)
    |                                 ------------------------ ^^^^ expected `u16`, found `u32`
    |                                 |
    |                                 arguments to this function are incorrect
    |
```
@xtqqczze
xtqqczze force-pushed the patch-src_uu_mkfifo_src_mkfifo.rs branch from 7ba5374 to 5a3400d Compare August 30, 2026 01:21
@github-actions

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 152.18 MB (+1004 KB, +0.65%)

Significant per-binary changes:
  comm     1.12 MB ->    2.33 MB  (+1.21 MB, +107.29%)

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/symlink (fails in this run but passes in the 'main' branch)

@xtqqczze
xtqqczze marked this pull request as ready for review August 30, 2026 02:08
@sylvestre
sylvestre merged commit 45959bc into uutils:main Aug 30, 2026
100 checks passed
@xtqqczze
xtqqczze deleted the patch-src_uu_mkfifo_src_mkfifo.rs branch August 30, 2026 10:02
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