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"