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

Defect in XSH posix_openpt

To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: Defect in XSH posix_openpt
From: yyyy@xxxxxxxxxx
Date: Mon, 9 Aug 2004 21:46:32 +0100 (BST)
        Defect report from : Nick Stoughton , USENIX Association

(Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)

@ page 887 line 28902 section posix_openpt editorial {nms_openpt_1}

Problem:

Edition of Specification (Year): 2004

Defect code :  1. Error

The example for posix_openpt() contains an invalid reference to a variable 
called "slave" which should be "slavedevice"

Action:

Change line 28902 from

slavefd = open(slave, O_RDWR|O_NOCTTY);

to

slavefd = open(slavedevice, O_RDWR|O_NOCTTY);

<Prev in Thread] Current Thread [Next in Thread>