Skip to content

uucore: add a function returning /dev/null to use splice() for wc,dd,tail#11601

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:null
Open

uucore: add a function returning /dev/null to use splice() for wc,dd,tail#11601
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:null

Conversation

@oech3
Copy link
Copy Markdown
Contributor

@oech3 oech3 commented Apr 2, 2026

Add new finction returning verified /dev/null to uucore.
This can be used for

  • wc -c (done)
  • dd skip=N
  • tail -c/--bytes +
    from non-seekable input e.g. pipe.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tty/tty-eof (passes in this run but fails in the 'main' branch)

@oech3 oech3 force-pushed the null branch 3 times, most recently from b72739b to f3bd236 Compare April 2, 2026 18:13
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

GNU testsuite comparison:

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

@oech3 oech3 marked this pull request as ready for review April 2, 2026 18:38
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/symlink (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/csplit/csplit-heap is now passing!

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

GNU testsuite comparison:

Skipping an intermittent issue tests/date/resolution (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/cut/cut-huge-range is now being skipped but was previously passing.
Note: The gnu test tests/printf/printf-surprise is now being skipped but was previously passing.

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.

1 participant