Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 1997 20:28:55 -0700
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        current@FreeBSD.ORG
Subject:   patch for uthread_accept.c 
Message-ID:  <199705230328.UAA10428@rah.star-gate.com>

next in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705230328.UAA10428>