Email List: Xaustin-review-lX
[All Lists]

Defect in XSH tcflow

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH tcflow
From: Geoff Clare <yyy@xxxxxxxxxxxxx>
Date: Mon, 18 Dec 2006 14:59:53 +0000
@ page 1511 line 47115,47117 section tcflow objection [gwc tcflow pty]

Problem:

Defect code :  1. Error

The standard requires tcflow(fd, TCIOFF) to send a STOP character and
tcflow(fd, TCION) to send a START character regardless of whether fd
refers to a hardware terminal or a pseudo-terminal.

For pseudo-terminals flow control happens automatically anyway, so
there is no need for the STOP and START characters to be sent.
Most, if not all, pseudo-terminal implementations do not send the
characters and the standard should allow this.

Action:

Append to line 47115:

    "If fildes is associated with a pseudo-terminal, the STOP
    character need not be transmitted."

Append to line 47117:

    "If fildes is associated with a pseudo-terminal, the START
    character need not be transmitted."

<Prev in Thread] Current Thread [Next in Thread>
  • Defect in XSH tcflow, Geoff Clare <=