delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/06/18:31:33

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200201062331.AAA15848@father.ludd.luth.se>
Subject: Re: RESEND: Patch to computer st_blksize in struct stat
In-Reply-To: <3C26705E.59767514@phekda.freeserve.co.uk> from Richard Dawe at "Dec 24, 2001 00:01:34 am"
To: djgpp-workers AT delorie DOT com
Date: Mon, 7 Jan 2002 00:31:25 +0100 (MET)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Richard Dawe:
> * There are updates for the ANSI C section. The function descriptions
> indicate which functions were taken from the ISO C99 standard and updated.
> Someone with access to the C99 standard should probably check the ANSI C
> section.

I have. My main goal was to verify that no unANSI functions slipped
in. I have not verified that all C99 functions are in the list.

> --- 20,187 ----
>      not a function, and we can't stub it.  ctime() sets tzname, and
>      ctime is ANSI and tzname is POSIX.  Sigh. */
>   
> ! char *ansi_fns[] = { "_Exit", "abort", "abs", "acos", "acosf", "acosl",

It looked to me that the order was alphabetical. Please add the
functions alphabetically.

> ! "erf", "erff", "erfl", "erf", "erfcf", "erfcl", "errno", "exit",

erf is there twice. One of them should be erfc.

> ! "j0", "j1", "jn", "labs", "llabs", "ldexp", "ldexpf", "ldexpl",

j0, j1, jn? There aren't in my standard.

> ! "mbsrtowcs", "mbstowcs", "mbtowc", "memccpy", "memchr", "memcmp",

memccpy isn't in my standard.

> ! "signal", "signbit", "signum", "sin", "sinf", "sinl",

signum?

> ! "trunc", "truncf", "truncl", "tzname", "ungetc", "ungetwc",

tzname?

> ! "vwprintf", "vwscanf", "wcstombs", "wcrtomb", "wcstat",

wcstat? Probably mistyped wcscat which is missing.

> ! "wcswidth", "wcsxfrm", "wctob", "wctomb", "wctrans",
> ! "wctype", "wcwidth", "wmemchr", "wmemcmp", "wmemcpy",

wcswidth, wcwidth?

> ! "wmemmove", "wmemset", "wscanf", "wprintf", 0
>   };

Thanks for the effort!


Right,

						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019