Fix EOF (^D) handling in devpts (partially addr #9333)

This commit is contained in:
Jonathon Belotti
2023-09-06 01:18:18 +00:00
parent c2a7efe6a2
commit e8c399a093
3 changed files with 59 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ const waitBufMaxBytes = 131072
// full, at which point they are written to the wait buffer. Bytes are
// processed (i.e. undergo termios transformations) as they are added to the
// read buffer. The read buffer is readable when its length is nonzero and
// readable is true.
// readable is true, or when its length is zero and readable is true (EOF).
//
// +stateify savable
type queue struct {