From owner-freebsd-current Mon Jul 1 08:13:57 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA03369 for current-outgoing; Mon, 1 Jul 1996 08:13:57 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA03355 for ; Mon, 1 Jul 1996 08:13:53 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14532(4)>; Mon, 1 Jul 1996 08:13:16 PDT Received: from localhost by crevenia.parc.xerox.com with SMTP id <177476>; Mon, 1 Jul 1996 08:12:58 -0700 To: Bruce Evans cc: current@freebsd.org, terry@lambert.org Subject: Re: Problem Report docs/731 In-reply-to: Your message of "Sat, 29 Jun 96 00:59:17 PDT." <199606290759.RAA29925@godzilla.zeta.org.au> Date: Mon, 1 Jul 1996 08:12:51 PDT From: Bill Fenner Message-Id: <96Jul1.081258pdt.177476@crevenia.parc.xerox.com> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199606290759.RAA29925@godzilla.zeta.org.au> you write: >2a) Investigate possible breakage of socketpair() in foreign libraries > (BSDI, Linux, etc). Any library that uses the previously suggested > fix of handling socketpair() like pipe() will break. NetBSD doesn't touch retval at all (e.g. they simply deleted the two XXX lines), like many system calls. Terry's suggestion of setting it to 0 obviously does no harm but is kind of belt-n-suspenders. Thus fixing it in libc will likely break NetBSD compatibility. Bill