standards/171572: ptsname(-1) returns errno 0

Sergey Kandaurov pluknet at gmail.com
Wed Sep 12 13:50:08 UTC 2012


The following reply was made to PR standards/171572; it has been noted by GNATS.

From: Sergey Kandaurov <pluknet at gmail.com>
To: bug-followup at FreeBSD.org, emaste at FreeBSD.org
Cc:  
Subject: Re: standards/171572: ptsname(-1) returns errno 0
Date: Wed, 12 Sep 2012 17:40:22 +0400

 This is regression (or was it an intended change?) from 8.x's MPSAFE TTY:
 
 in 8.x ptsname() was changed so that:
 /* Make sure ptsname() does not overwrite errno. */


More information about the freebsd-standards mailing list