[Bug 2114706] [NEW] rust-coreutils: tee is buffered

Julian Andres Klode 2114706 at bugs.launchpad.net
Mon Jun 16 07:41:14 UTC 2025


Public bug reported:

The uutils version of tee is line-buffered, but GNU coreutils tee is
unbuffered. This breaks the Java test suite, for example, which writes a
single byte 'a' and then tries to read it.

https://github.com/openjdk/jdk/blob/26848a7d6ce4c573b679a690fd36e6d7082243f6/test/jdk/java/lang/RuntimeTests/exec/ConcurrentRead.java#L69

Forwarded: https://github.com/uutils/coreutils/issues/8198

** Affects: coreutils-from (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: rust-coreutils (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  The uutils version of tee is line-buffered, but GNU coreutils tee is
  unbuffered. This breaks the Java test suite, for example, which writes a
  single byte 'a' and then tries to read it.
  
  https://github.com/openjdk/jdk/blob/26848a7d6ce4c573b679a690fd36e6d7082243f6/test/jdk/java/lang/RuntimeTests/exec/ConcurrentRead.java#L69
+ 
+ Forwarded: https://github.com/uutils/coreutils/issues/8198

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils-from in Ubuntu.
https://bugs.launchpad.net/bugs/2114706

Title:
  rust-coreutils: tee is buffered

Status in coreutils-from package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  The uutils version of tee is line-buffered, but GNU coreutils tee is
  unbuffered. This breaks the Java test suite, for example, which writes
  a single byte 'a' and then tries to read it.

  https://github.com/openjdk/jdk/blob/26848a7d6ce4c573b679a690fd36e6d7082243f6/test/jdk/java/lang/RuntimeTests/exec/ConcurrentRead.java#L69

  Forwarded: https://github.com/uutils/coreutils/issues/8198

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2114706/+subscriptions




More information about the foundations-bugs mailing list