Skip to content

uucore: Permit 'D' as a decimal suffix modifier in size parsing for GNU compatibility.#11354

Merged
sylvestre merged 1 commit intouutils:mainfrom
Zellic:truncate-size-parsing
Mar 18, 2026
Merged

uucore: Permit 'D' as a decimal suffix modifier in size parsing for GNU compatibility.#11354
sylvestre merged 1 commit intouutils:mainfrom
Zellic:truncate-size-parsing

Conversation

@aweinstock314
Copy link
Copy Markdown
Contributor

truncate: Reject 'b' as a unit.

@sylvestre
Copy link
Copy Markdown
Contributor


error: unresolved link to `parse_size_u64`
   --> src/uu/truncate/src/truncate.rs:301:40
    |
301 | /// A size string is as described in [`parse_size_u64`]. The first character
    |                                        ^^^^^^^^^^^^^^ no item named `parse_size_u64` in scope
    |

…NU compatibility.

truncate: Reject 'b' as a unit.
@aweinstock314 aweinstock314 force-pushed the truncate-size-parsing branch from 0c697d3 to 047a6be Compare March 16, 2026 22:16
@github-actions
Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/rm/many-dir-entries-vs-OOM is now being skipped but was previously passing.
Note: The gnu test tests/tail/pipe-f is now being skipped but was previously passing.
Congrats! The gnu test tests/expand/bounded-memory is now passing!

@sylvestre sylvestre merged commit 0474e55 into uutils:main Mar 18, 2026
160 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants