kern/162379: When select(2) closed writing pipe, it will sticks.

Gleb Smirnoff glebius at FreeBSD.org
Thu Nov 10 13:10:09 UTC 2011


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

From: Gleb Smirnoff <glebius at FreeBSD.org>
To: Yui NARUSE <naruse at airemix.jp>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/162379: When select(2) closed writing pipe, it will sticks.
Date: Thu, 10 Nov 2011 17:04:16 +0400

   Yui,
 
   I have been pointed to the fact that select(2) should return EBADF in
 this case. This is clearly seen in standard document,
 
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/select.html
 
 so problem acknowledged.
 
 Also, it appeared that your report is dup of kern/155606.
 
 -- 
 Totus tuus, Glebius.


More information about the freebsd-bugs mailing list