Date: Thu, 27 Jun 1996 20:13:03 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@freebsd.org (FreeBSD-current users) Subject: Re: socketpair bug? Message-ID: <199606271813.UAA02652@uriah.heep.sax.de> In-Reply-To: <31D18BE9.4BF61CB5@fa.tdktca.com> from Alex Nash at "Jun 26, 96 02:13:45 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Alex Nash wrote: > > Oh, I have found where the problem is. socketpair() actually succeeded but > > returned the value of first descriptor in pair instead of 0. This is > > strange because it does not conform to man page (I am not sure wheither it > > comforms to POSIX too). > We also have a PR that covers this, 731. See also my Usenet reply: socketpair() basically needs a similar libc syscall wrapper like pipe(). Right now, it uses the generic syscall wrapper which is wrong. (The XXX??'s can be removed again then. :) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606271813.UAA02652>