From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 22 06:31:14 2009 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9EC7106568B for ; Thu, 22 Oct 2009 06:31:14 +0000 (UTC) (envelope-from Petr.Salinger@seznam.cz) Received: from relay.felk.cvut.cz (relay.felk.cvut.cz [147.32.80.7]) by mx1.freebsd.org (Postfix) with ESMTP id 63FCE8FC19 for ; Thu, 22 Oct 2009 06:31:13 +0000 (UTC) Received: from sci.felk.cvut.cz (sci.felk.cvut.cz [147.32.83.100]) by relay.felk.cvut.cz (8.14.3/8.14.3) with ESMTP id n9M6Uv30073543 for ; Thu, 22 Oct 2009 08:30:57 +0200 (CEST) (envelope-from Petr.Salinger@seznam.cz) Date: Thu, 22 Oct 2009 10:32:15 +0200 (CEST) From: Petr Salinger X-X-Sender: salinger@sci.felk.cvut.cz To: freebsd-bugs@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-FELK-MailScanner-Information: X-MailScanner-ID: n9M6Uv30073543 X-FELK-MailScanner: Found to be clean X-FELK-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.913, required 5, BAYES_00 -2.60, SPF_NEUTRAL 0.69) X-FELK-MailScanner-From: petr.salinger@seznam.cz X-FELK-MailScanner-To: freebsd-bugs@freebsd.org X-FELK-MailScanner-Watermark: 1256797864.63075@LK7KZGItweEZeR50p/WCcQ X-Spam-Status: No Cc: Subject: Re: kern/126076: [headers] POLL_ERR and POLL_HUP are defined identically X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2009 06:31:15 -0000 > According to kib this is intentional. POLL_ERR is not implemented, > so it is simply mapped to POLL_HUP for now. It would be much better to reserve new value for either POLL_ERR or POLL_HUP just now. The current situation does not conform to POSIX-2008, see http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html Petr