From owner-freebsd-current Thu May 22 20:28:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26997 for current-outgoing; Thu, 22 May 1997 20:28:56 -0700 (PDT) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26990 for ; Thu, 22 May 1997 20:28:53 -0700 (PDT) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.8.5) with ESMTP id UAA10428 for ; Thu, 22 May 1997 20:28:55 -0700 (PDT) Message-Id: <199705230328.UAA10428@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: current@FreeBSD.ORG Subject: patch for uthread_accept.c Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 May 1997 20:28:55 -0700 From: Amancio Hasty Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk the released version is incorrectly inheriting the file's flags. more /tmp/patch *** uthread_accept.c.orig Thu May 22 20:11:25 1997 --- uthread_accept.c Thu May 22 20:11:59 1997 *************** *** 89,94 **** --- 89,96 ---- /* Return an error: */ ret = -1; + } else { + _thread_fd_table[ret]->flags = _thread_fd_table[fd]->flags; } } /* Return the socket file descriptor or -1 on error: */ --- The problem was first encountered in running ACE's IOStream_test test program. Enjoy, Amancio