From owner-freebsd-standards@FreeBSD.ORG Mon Mar 6 11:03:26 2006 Return-Path: X-Original-To: freebsd-standards@freebsd.org Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF0D016A420 for ; Mon, 6 Mar 2006 11:03:26 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 92FB843D45 for ; Mon, 6 Mar 2006 11:03:26 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k26B3QiY098786 for ; Mon, 6 Mar 2006 11:03:26 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k26B3PfE098780 for freebsd-standards@freebsd.org; Mon, 6 Mar 2006 11:03:25 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 6 Mar 2006 11:03:25 GMT Message-Id: <200603061103.k26B3PfE098780@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 11:03:27 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string o [2002/12/13] kern/46239 standards posix semaphore implementation errors o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2005/06/25] standards/82654standards C99 long double math functions are missin 4 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi s [2001/01/24] standards/24590standards timezone function not compatible witn Sin s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public s [2002/03/19] standards/36076standards Implementation of POSIX fuser command s [2002/05/07] standards/37843standards manual for pthread_setschedparam(3) is wr o [2002/06/14] standards/39256standards snprintf/vsnprintf aren't POSIX-conforman p [2002/08/12] standards/41576standards POSIX compliance of ln(1) o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p o [2003/07/25] standards/54833standards [pcvt] more pcvt deficits o [2003/07/25] standards/54839standards [pcvt] pcvt deficits o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/09/05] standards/56476standards cd9660 unicode support simple hack o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname s [2004/02/14] standards/62858standards malloc(0) not C99 compliant s [2004/03/29] kern/64875 standards [libc] [patch] [feature request] add a sy o [2004/05/07] standards/66357standards make POSIX conformance problem ('sh -e' & o [2004/05/11] standards/66531standards _gettemp uses a far smaller set of filena o [2004/08/22] standards/70813standards [PATCH] ls(1) not Posix compliant o [2004/09/22] standards/72006standards floating point formating in non-C locales o [2005/03/20] standards/79055standards Add an IFS regression test for shells o [2005/03/20] standards/79056standards regex(3) regression tests o [2005/03/21] standards/79067standards /bin/sh should be more intelligent about a [2005/04/23] standards/80293standards sysconf() does not support well-defined u o [2005/05/20] standards/81287standards [PATCH]: fingerd(8) might send a line not o [2005/07/21] standards/83845standards [libm] [patch] add log2() and log2f() sup o [2005/08/18] standards/85080standards output of long double subnormals (with pr o [2005/12/24] standards/90871standards ACPI Not Work o [2006/01/26] standards/92360standards [headers] [patch] Missing TAB3 in kernel o [2006/01/26] standards/92362standards [headers] [patch] Missing SIGPOLL in kern o [2006/02/22] kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS ( 32 problems total. From owner-freebsd-standards@FreeBSD.ORG Tue Mar 7 10:20:09 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 5E4BD16A420 for ; Tue, 7 Mar 2006 10:20:09 +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 69F0F43D46 for ; Tue, 7 Mar 2006 10:20:08 +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 k27AK8lf016307 for ; Tue, 7 Mar 2006 10:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k27AK8YX016306; Tue, 7 Mar 2006 10:20:08 GMT (envelope-from gnats) Date: Tue, 7 Mar 2006 10:20:08 GMT Message-Id: <200603071020.k27AK8YX016306@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Peter Pentchev 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: Peter Pentchev List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 10:20:09 -0000 The following reply was made to PR kern/93705; it has been noted by GNATS. From: Peter Pentchev To: Gleb Smirnoff Cc: bug-followup@FreeBSD.org Subject: Re: kern/93705: [patch] ENODATA and EGREGIOUS (for glibc compat) Date: Tue, 7 Mar 2006 12:18:49 +0200 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 27, 2006 at 07:50:05AM +0000, Gleb Smirnoff wrote: > On Sun, Feb 26, 2006 at 07:36:17PM +0100, Robert Millan wrote: > R> On Sun, Feb 26, 2006 at 02:35:48PM +0300, Gleb Smirnoff wrote: > R> > On Wed, Feb 22, 2006 at 02:53:56PM +0100, Robert Millan wrote: > R> > R> >Description: > R> > R> Please could you add ENODATA and EGREGIOUS errno codes for compa= tibility with > R> > R> Glibc systems? > R> > R>=20 > R> > R> They have the same meaning as ENOATTR and EDOOFUS, respectively. > R> > R>=20 > R> > R> As a side benefit, in the case of EDOOFUS this might be of inter= est to the Apple > R> > R> developers who complained about this macro name (i.e. they could= use EGREGIOUS in > R> > R> Darwin exclussively if they want). > R> >=20 > R> > The ENODATA error code is standardized as a part of XSI streams: > R> >=20 > R> > http://www.opengroup.org/onlinepubs/000095399/basedefs/errno.h.html > R> >=20 > R> > I don't think we should hardcode it equal to ENOATTR, which is a BS= D specific > R> > code, afaik. > R>=20 > R> Linux uses ENODATA for no attribute errors, which afaik is the same a= s ENOATTR. > R>=20 > R> However since the XSI definition is more generic as you point out, pe= rhaps it'd > R> be better to rename ENOATTR to ENODATA and make ENOATTR an alias for = ENODATA > R> instead? > =20 > Pardon, but I do not properly understand the meaning of ENODATA in XSI s= treams > standard. That's why I am not sure, that ENODATA and ENOATTR can be made= equal > to each other. > =20 > P.S. I'm just expressing my humble opinion. I hope freebsd-standards mai= ling > list will make a decision. Okay, I could be *very* far off here, but... a couple of points natheless :) First, I wonder if the XSI STREAMS part of any standards actually apply to us - AFAIK, FreeBSD does not really implement STREAMS in any way, shape, or form. Second, ISTR that ENOATTR and ENODATA actually came into FreeBSD as part of the KAME project integration a long time ago, and then - not so long ago - ENODATA was *removed* since it was declared obsolete by the upstream KAME project. At least, that's the impression I got when it had to be removed or ifdef'd out of a couple of my ports :) Okay, so maybe that was not quite correct - I can't seem to find ENODATA mentioned anywhere in the src/sys/sys/errno.h CVS history, nor in the history of the ftp/curl or security/stunnel ports... so either this is all a whole lot of hot air due to my memory being jumbled beyond any hope, or I'm not remembering it exactly correct. Or maybe it was that ENODATA was never really defined in FreeBSD, because it was obsoleted by KAME at some point... or something... G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contradicts itself - or rather - well, no, actually it doesn'= t! --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (FreeBSD) iD8DBQFEDV4J7Ri2jRYZRVMRAs4oAKCcKtEG5a0Q23nhCoIWVAOx7xpw9QCePG1B jQTNuy0wJrKw71TTrFTOkEo= =URZX -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-standards@FreeBSD.ORG Tue Mar 7 10:34:04 2006 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8668716A420 for ; Tue, 7 Mar 2006 10:34:04 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id E947B43D46 for ; Tue, 7 Mar 2006 10:34:01 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:ZjtJ/v3axSrbAF5hPVVkfZR0OaYw6Eg6INp/ojcySotcjB7THbguDGSo29f330Ia@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.4/8.13.4) with ESMTP/inet6 id k27AXrZ8099834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Mar 2006 19:33:54 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 07 Mar 2006 19:33:53 +0900 Message-ID: From: Hajimu UMEMOTO To: Peter Pentchev In-Reply-To: <200603071020.k27AK8YX016306@freefall.freebsd.org> References: <200603071020.k27AK8YX016306@freefall.freebsd.org> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd5.5) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 5.5-PRERELEASE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:::1]); Tue, 07 Mar 2006 19:33:55 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on ameno.mahoroba.org Cc: freebsd-standards@FreeBSD.org 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 List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 10:34:04 -0000 Hi, >>>>> On Tue, 7 Mar 2006 10:20:08 GMT >>>>> Peter Pentchev said: roam> Second, ISTR that ENOATTR and ENODATA actually came into FreeBSD as part roam> of the KAME project integration a long time ago, and then - not so long roam> ago - ENODATA was *removed* since it was declared obsolete by the roam> upstream KAME project. At least, that's the impression I got when it roam> had to be removed or ifdef'd out of a couple of my ports :) Do you mean EAI_NODATA? KAME doesn't related to ENODATA nor ENOATTR. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-standards@FreeBSD.ORG Fri Mar 10 01:32:18 2006 Return-Path: X-Original-To: FreeBSD-standards@FreeBSD.org Delivered-To: FreeBSD-standards@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C830016A420 for ; Fri, 10 Mar 2006 01:32:18 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32706.mail.mud.yahoo.com (web32706.mail.mud.yahoo.com [68.142.207.250]) by mx1.FreeBSD.org (Postfix) with SMTP id 588D843D46 for ; Fri, 10 Mar 2006 01:32:18 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 66877 invoked by uid 60001); 10 Mar 2006 01:32:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ls/UChtvkeg0+qIJGQXV94uMC+28UCYlqfYkB4yVj260byI4rTEfbnD4MtaTWZzpBxYbbtNW/5dRQw3vofQvgm/VzMCPBFVpA7JeVtZZ10p6WvQQf/FDkTu3D6I9buKjWdmIY2CyJDv2wzVlMlMrkna3Q1UwlpRCWAqpdOHER7A= ; Message-ID: <20060310013217.66875.qmail@web32706.mail.mud.yahoo.com> Received: from [200.118.66.85] by web32706.mail.mud.yahoo.com via HTTP; Fri, 10 Mar 2006 02:32:17 CET Date: Fri, 10 Mar 2006 02:32:17 +0100 (CET) From: To: FreeBSD-standards@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: Floating Point Standards X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 01:32:18 -0000 Hello, This was posted recently to the OpenWatcom newsgroup: _______ For people who don't have IEEE 754 and don't feel like shelling out fifty bucks for it at the ANSI web store (I know I don't), the standard can be found on this page: http://754r.ucbtest.org/ The 754r is a work-in-progress update and merge of IEEE 754 and IEEE-854 (decimal floating-point). As far as I can tell, IEEE 754 is the same thing as IEC 60559, which is heavily referenced by the C99 standard. Michal _________ Also for those of you unaware but interested in taking a look, the OpenSolaris libm was finally made available under Sun's opensource license. cheers, Pedro. ___________________________________ Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive http://it.messenger.yahoo.com From owner-freebsd-standards@FreeBSD.ORG Fri Mar 10 01:48:53 2006 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DDEB16A420 for ; Fri, 10 Mar 2006 01:48:53 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32715.mail.mud.yahoo.com (web32715.mail.mud.yahoo.com [68.142.206.28]) by mx1.FreeBSD.org (Postfix) with SMTP id 2A6B843D64 for ; Fri, 10 Mar 2006 01:48:47 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 70450 invoked by uid 60001); 10 Mar 2006 01:48:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=yROlVnqOxlR4fJwSsMz0gvRXHizXlOrLCkWA+19ur1xh9ZZr8tMLhT5azR5Jc2216zPIlL53px0wFbZXcE2xK/+KA6QPf1CVPF2zg4PARAIHghQk+aNP6JNfRHVAQu0TcX4UXFnLpdRyV357dAevivV15M1rIj7fX0cBQgD3BRA= ; Message-ID: <20060310014847.70448.qmail@web32715.mail.mud.yahoo.com> Received: from [200.118.66.85] by web32715.mail.mud.yahoo.com via HTTP; Fri, 10 Mar 2006 02:48:47 CET Date: Fri, 10 Mar 2006 02:48:47 +0100 (CET) From: To: freebsd-standards@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Subject: Dinkum tests FreeBSD's C library X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 01:48:53 -0000 Hi again; This might be slightly outdated but nevertheless interesting: http://dinkumware.com/conform_c.html For those too lazy to look ... ______________ FreeBSD C Library C95 The following list covers the faults uncovered while testing compliance for C95. With the headers iso646.h and wchar.h missing, the coverage for C95 is minimal. assert() does not raise SIGABRT EILSEQ is not defined in errno.h The header iso646.h is not included. The header wchar.h is not included. The function mbtowc does not correctly convert "" to a wide character string. ferror fails to return an error indicator for a read of a file that was opened using fopen with an argument mode of "w". The optional math functions are not implemented for C95. (See Table 1.) C++ The same issues that were found during the C95 testing are also present when compiling for C++, plus the following. The islpha, isalnum, iscntrl, isdigit, islower, isprint, ispunct, isspace, isupper, isxdigit, tolower, and toupper functions in ctype.h are defined as macros. va_list is not defined in stdarg.h. Not all the signatures called for by the C++ Standard for memchr, strchr, strpbrk, strchr, and strstr are declared in string.h. Not all the signatures called for by the C++ Standard for wmemchr, wcspbrk, wcschr, wcsrchr, and wcsstr are declared in wchar.h. The float and the long double versions of ceil, fabs, floor, fmod, frexp, ldexp, modf, acos, asin, atan, atan2, cos, sin, tan, cosh, exp, log, log10, sinh, sqrt and tanh functions are not declared in math.h. The long int overloads of the functions abs and div are not declared in stdlib.h. Overloads abs(double) and pow(double, int) in math.h give bad or inaccurate results. setjmp is not defined as a macro in setjmp.h. The functions feof, ferror, clearerr, getc, putc, getchar, and putchar in stdio.h are defined as macros. Overloads abs(long) and div(long, long) in stdlib.h are missing. C99 The same issues that were found during the C95 testing are also present when compiling for C99, plus the following. The properties for unsigned long long are not reasonable, in a #if preprocessor directive the statement ULLONG_MAX / 2 < LLONG_MAX evaluates to a nonzero. The properties for long long are not reasonable, in a #if preprocessor directive the statement LLONG_MAX < LONG_MAX evaluates to a nonzero. The hh print specifier for d, i, o, u, x, or X conversion specifier does not convert the value to a signed or unsigned char before printing. The a and A print/scan specifiers are not implemented. The e and f print specifiers display INFINITY as Inf. The C Standard indicates that [-]inf or [-]infinity are the valid representations. The F print specifier is not implemented. The e or f print specifiers display NAN as NaN. The C Standard indicates that [-]nan or [-]nan(n-char-sequence) are the valid representations. The type lldiv_t is not define in stdlib.h. The function _Exit is not declared in stdlib.h. The functions llabs, lldiv, atoll, strtof, strtold are not declared in stdlib.h. F specifier for strftime is not implemented. The header complex.h is not included. The type imaxdiv_t is not defined in inttypes.h. The functions imaxabs, imaxdiv, strtoimax, strtoumax, wcstoimax, and wcstoumax are not declared in inttypes.h. The functions nexttoward, acoshf, asinhf, atanhf, cbrtf, exp2f, expm1f, log1pf, log2f, erff, erfcf, lgammaf, tgammaf, hypotf, nexttowardf, acoshl, asinhl, atanhl, cbrtl, exp2l, expm1l, scalbnl, scalblnl, ilogbl, log1pl, log2l, logbl, erfl, erfcl, lgammal, tgammal, copysignl, fdiml, fmal, fmaxl, fminl, hypotl, remainderl, remquol, llrintl, llroundl, lrintl, lroundl, rintl, roundl, nearbyintl, nextafterl, nexttowardl, truncl, and nanl are not declared in math.h. The header tgmath.h is not included. _________________ ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it From owner-freebsd-standards@FreeBSD.ORG Fri Mar 10 02:20:16 2006 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66F8316A420 for ; Fri, 10 Mar 2006 02:20:16 +0000 (GMT) (envelope-from leimy2k@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FFA43D48 for ; Fri, 10 Mar 2006 02:20:15 +0000 (GMT) (envelope-from leimy2k@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout03/MantshX 4.0) with ESMTP id k2A2KFIL011429; Thu, 9 Mar 2006 18:20:15 -0800 (PST) Received: from [192.168.1.99] (dsl231-059-251.sea1.dsl.speakeasy.net [216.231.59.251]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k2A2KBOs026606; Thu, 9 Mar 2006 18:20:13 -0800 (PST) In-Reply-To: <20060310014847.70448.qmail@web32715.mail.mud.yahoo.com> References: <20060310014847.70448.qmail@web32715.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v749) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <286F2B64-EC99-47AE-A987-9DDB2E449805@mac.com> Content-Transfer-Encoding: 7bit From: David Leimbach Date: Thu, 9 Mar 2006 18:20:10 -0800 To: pfgshield-freebsd@yahoo.com X-Mailer: Apple Mail (2.749) Cc: freebsd-standards@FreeBSD.org Subject: Re: Dinkum tests FreeBSD's C library X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 02:20:16 -0000 That's the FreeBSD C library as was used in Darwin from Mac OS X 10.2 :-). Dave On Mar 9, 2006, at 5:48 PM, pfgshield-freebsd@yahoo.com wrote: > Hi again; > > This might be slightly outdated but nevertheless interesting: > > http://dinkumware.com/conform_c.html > > For those too lazy to look ... > > ______________ > > FreeBSD C Library > C95 > The following list covers the faults uncovered while testing > compliance for > C95. With the headers iso646.h and wchar.h missing, the coverage > for C95 is > minimal. > > assert() does not raise SIGABRT > EILSEQ is not defined in errno.h > The header iso646.h is not included. > The header wchar.h is not included. > The function mbtowc does not correctly convert "" to a wide > character string. > ferror fails to return an error indicator for a read of a file that > was opened > using fopen with an argument mode of "w". > The optional math functions are not implemented for C95. (See Table > 1.) > > C++ > The same issues that were found during the C95 testing are also > present when > compiling for C++, plus the following. > > The islpha, isalnum, iscntrl, isdigit, islower, isprint, ispunct, > isspace, > isupper, isxdigit, tolower, and toupper functions in ctype.h are > defined as > macros. > va_list is not defined in stdarg.h. > Not all the signatures called for by the C++ Standard for memchr, > strchr, > strpbrk, strchr, and strstr are declared in string.h. > Not all the signatures called for by the C++ Standard for wmemchr, > wcspbrk, > wcschr, wcsrchr, and wcsstr are declared in wchar.h. > The float and the long double versions of ceil, fabs, floor, fmod, > frexp, > ldexp, modf, acos, asin, atan, atan2, cos, sin, tan, cosh, exp, > log, log10, > sinh, sqrt and tanh functions are not declared in math.h. > The long int overloads of the functions abs and div are not > declared in > stdlib.h. > Overloads abs(double) and pow(double, int) in math.h give bad or > inaccurate > results. > setjmp is not defined as a macro in setjmp.h. > The functions feof, ferror, clearerr, getc, putc, getchar, and > putchar in > stdio.h are defined as macros. > Overloads abs(long) and div(long, long) in stdlib.h are missing. > C99 > The same issues that were found during the C95 testing are also > present when > compiling for C99, plus the following. > > The properties for unsigned long long are not reasonable, in a #if > preprocessor > directive the statement ULLONG_MAX / 2 < LLONG_MAX evaluates to a > nonzero. > The properties for long long are not reasonable, in a #if preprocessor > directive the statement LLONG_MAX < LONG_MAX evaluates to a nonzero. > The hh print specifier for d, i, o, u, x, or X conversion specifier > does not > convert the value to a signed or unsigned char before printing. > The a and A print/scan specifiers are not implemented. > The e and f print specifiers display INFINITY as Inf. The C > Standard indicates > that [-]inf or [-]infinity are the valid representations. > The F print specifier is not implemented. > The e or f print specifiers display NAN as NaN. The C Standard > indicates that > [-]nan or [-]nan(n-char-sequence) are the valid representations. > The type lldiv_t is not define in stdlib.h. > The function _Exit is not declared in stdlib.h. > The functions llabs, lldiv, atoll, strtof, strtold are not declared in > stdlib.h. > F specifier for strftime is not implemented. > The header complex.h is not included. > The type imaxdiv_t is not defined in inttypes.h. > The functions imaxabs, imaxdiv, strtoimax, strtoumax, wcstoimax, > and wcstoumax > are not declared in inttypes.h. > The functions nexttoward, acoshf, asinhf, atanhf, cbrtf, exp2f, > expm1f, log1pf, > log2f, erff, erfcf, lgammaf, tgammaf, hypotf, nexttowardf, acoshl, > asinhl, > atanhl, cbrtl, exp2l, expm1l, scalbnl, scalblnl, ilogbl, log1pl, > log2l, logbl, > erfl, erfcl, lgammal, tgammal, copysignl, fdiml, fmal, fmaxl, > fminl, hypotl, > remainderl, remquol, llrintl, llroundl, lrintl, lroundl, rintl, > roundl, > nearbyintl, nextafterl, nexttowardl, truncl, and nanl are not > declared in > math.h. > The header tgmath.h is not included. > _________________ > > > > > > > > ___________________________________ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > http://mail.yahoo.it > _______________________________________________ > freebsd-standards@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-standards > To unsubscribe, send any mail to "freebsd-standards- > unsubscribe@freebsd.org" From owner-freebsd-standards@FreeBSD.ORG Fri Mar 10 03:48:33 2006 Return-Path: X-Original-To: freebsd-standards@FreeBSD.org Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34F116A420 for ; Fri, 10 Mar 2006 03:48:32 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32701.mail.mud.yahoo.com (web32701.mail.mud.yahoo.com [68.142.207.245]) by mx1.FreeBSD.org (Postfix) with SMTP id 7C36C43D45 for ; Fri, 10 Mar 2006 03:48:32 +0000 (GMT) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 19125 invoked by uid 60001); 10 Mar 2006 03:48:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=VAFQJERXROocUeLHCZ1C/rq7JFOH9k+XrNxv57rt79UZnJU04w97O5PXIO9U3j9iB7MaEG0OeBa84jjopUfus70Jm+v3GYd/Y8in2dl65GbGUfaQylYOaUGnSMaOVT5lEJQxyeogbESwoSMfWfreJ2BotchV8UXEYGkFExD6WoU= ; Message-ID: <20060310034832.19123.qmail@web32701.mail.mud.yahoo.com> Received: from [200.118.66.85] by web32701.mail.mud.yahoo.com via HTTP; Fri, 10 Mar 2006 04:48:31 CET Date: Fri, 10 Mar 2006 04:48:31 +0100 (CET) From: To: David Leimbach In-Reply-To: <286F2B64-EC99-47AE-A987-9DDB2E449805@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-standards@FreeBSD.org Subject: Re: Dinkum tests FreeBSD's C library X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2006 03:48:33 -0000 Yes, it's old and many of those have been fixed, but it's a good reference on what might still be missing, given that this test suites are not available for free. They also have some library references available: http://www.dinkumware.com/libraries_ref.html cheers, Pedro. pa, The commercial library and test suite are being used by an OpenWatcom developer: http://www.openwatcom.org/index.php/Standard_C_Library_Tests --- David Leimbach ha scritto: > That's the FreeBSD C library as was used in Darwin from Mac OS X > 10.2 :-). > > Dave > > On Mar 9, 2006, at 5:48 PM, pfgshield-freebsd@yahoo.com wrote: > > > Hi again; > > > > This might be slightly outdated but nevertheless interesting: > > > > http://dinkumware.com/conform_c.html > > ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it