Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

head: Fix bug printing large non-seekable files #7294

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

karlmcdowall
Copy link
Contributor

Fixes issue #7288.
Rewrite logic to print all-but-last-n-bytes in non-seekable files.

Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@karlmcdowall karlmcdowall marked this pull request as draft February 11, 2025 04:02
@karlmcdowall karlmcdowall marked this pull request as ready for review February 11, 2025 04:34
@karlmcdowall karlmcdowall marked this pull request as draft February 11, 2025 14:33
@karlmcdowall karlmcdowall force-pushed the head_read_but_last_n_bug branch from b970989 to ad0b20d Compare February 11, 2025 17:21
@karlmcdowall karlmcdowall marked this pull request as ready for review February 11, 2025 17:21
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

@karlmcdowall karlmcdowall force-pushed the head_read_but_last_n_bug branch from ad0b20d to 3baa9ad Compare February 11, 2025 17:50
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

@karlmcdowall karlmcdowall force-pushed the head_read_but_last_n_bug branch from 3baa9ad to 77b3cfe Compare February 11, 2025 23:11
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@karlmcdowall karlmcdowall force-pushed the head_read_but_last_n_bug branch from 77b3cfe to 8b19a95 Compare February 12, 2025 03:40
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

Fixes issue uutils#7288.
Rewrite logic for print-all-but-last-n-bytes in non-seekable
files.
@sylvestre sylvestre force-pushed the head_read_but_last_n_bug branch from 8b19a95 to 84b42a8 Compare February 12, 2025 09:16
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/rm/rm2 is no longer failing!

@sylvestre sylvestre merged commit 12bb82f into uutils:main Feb 20, 2025
65 checks passed
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.

3 participants