Skip to content

false: dedup set_exit_code(1)#10823

Merged
ChrisDryden merged 1 commit intouutils:mainfrom
oech3:patch-2
Feb 8, 2026
Merged

false: dedup set_exit_code(1)#10823
ChrisDryden merged 1 commit intouutils:mainfrom
oech3:patch-2

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 8, 2026

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

GNU testsuite comparison:

Congrats! The gnu test tests/pr/bounded-memory is no longer failing!

@oech3 oech3 marked this pull request as ready for review February 8, 2026 19:00
// and the interrupted display of help and version should return `1`. Also, we return Ok in all
// paths to avoid the allocation of an error object, an operation that could, in theory, fail
// and unwind through the standard library allocation handling machinery.
set_exit_code(1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just putting a note for future reference that this is why the set_exit_code is redundant

@ChrisDryden ChrisDryden merged commit 00b4469 into uutils:main Feb 8, 2026
155 checks passed
@ChrisDryden
Copy link
Collaborator

Thanks, the style of this utility in particular gets a bunch of visibility as a comparison

@oech3 oech3 deleted the patch-2 branch February 8, 2026 19:42
oech3 added a commit to oech3/coreutils that referenced this pull request Feb 9, 2026
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