From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 21 15:27:18 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 176BD1065672; Wed, 21 Oct 2009 15:27:18 +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 0B5C68FC15; Wed, 21 Oct 2009 15:26:57 +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 n9LEqC6g011027; Wed, 21 Oct 2009 16:52:12 +0200 (CEST) (envelope-from Petr.Salinger@seznam.cz) Date: Wed, 21 Oct 2009 18:53:29 +0200 (CEST) From: Petr Salinger X-X-Sender: salinger@sci.felk.cvut.cz To: brueffer@FreeBSD.org In-Reply-To: <200910211405.n9LE5Ooj005270@freefall.freebsd.org> Message-ID: References: <200910211405.n9LE5Ooj005270@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-FELK-MailScanner-Information: X-MailScanner-ID: n9LEqC6g011027 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: brueffer@freebsd.org, freebsd-bugs@freebsd.org X-FELK-MailScanner-Watermark: 1256741539.08059@AkAU8YnJoErNYRS+eczeeA X-Spam-Status: No Cc: freebsd-bugs@FreeBSD.org 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: Wed, 21 Oct 2009 15:27:18 -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