From owner-freebsd-standards@FreeBSD.ORG Sun Feb 26 11:40:12 2006 Return-Path: X-Original-To: freebsd-standards@hub.freebsd.org Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E756316A420 for ; Sun, 26 Feb 2006 11:40:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FC8D43D48 for ; Sun, 26 Feb 2006 11:40:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k1QBeCqq065476 for ; Sun, 26 Feb 2006 11:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k1QBeCeI065475; Sun, 26 Feb 2006 11:40:12 GMT (envelope-from gnats) Date: Sun, 26 Feb 2006 11:40:12 GMT Message-Id: <200602261140.k1QBeCeI065475@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Gleb Smirnoff Cc: Subject: Re: kern/93705: [patch] ENODATA and EGREGIOUS (for glibc compat) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gleb Smirnoff List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Feb 2006 11:40:13 -0000 The following reply was made to PR kern/93705; it has been noted by GNATS. From: Gleb Smirnoff To: Robert Millan Cc: FreeBSD-gnats-submit@FreeBSD.org, Jordan Hubbard Subject: Re: kern/93705: [patch] ENODATA and EGREGIOUS (for glibc compat) Date: Sun, 26 Feb 2006 14:35:48 +0300 On Wed, Feb 22, 2006 at 02:53:56PM +0100, Robert Millan wrote: R> >Description: R> Please could you add ENODATA and EGREGIOUS errno codes for compatibility with R> Glibc systems? R> R> They have the same meaning as ENOATTR and EDOOFUS, respectively. R> R> As a side benefit, in the case of EDOOFUS this might be of interest to the Apple R> developers who complained about this macro name (i.e. they could use EGREGIOUS in R> Darwin exclussively if they want). The ENODATA error code is standardized as a part of XSI streams: http://www.opengroup.org/onlinepubs/000095399/basedefs/errno.h.html I don't think we should hardcode it equal to ENOATTR, which is a BSD specific code, afaik. P.S. My opinion isn't opinion of the project. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE