Skip to content

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

Open
aweinstock314 wants to merge 1 commit intouutils:mainfrom
Zellic:truncate-size-parsing
Open

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

Conversation

@aweinstock314
Copy link
Contributor

truncate: Reject 'b' as a unit.

@sylvestre
Copy link
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

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!

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