Here's the output of the test program that we see under bullseye, kernel
5.10.0.-9:
$ ./rbpty
TEST len 130 text
[123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
]
130 bytes read
buf read:
[123456789012345
Package: src:linux
Version: 5.10.70-1
Severity: normal
Tags: upstream
Dear Maintainer,
When reading from a pty, a call to read(2) always returns a string ending in a
newline, except when the text written to the pty contains a multiple of 64
characters, plus the newline. In the exceptional case
2 matches
Mail list logo