[m-dev.] string_format_tests

Peter Ross pro at missioncriticalit.com
Fri Nov 22 00:35:10 AEDT 2002


fjh wrote:
> On 21-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > Do you have a copy of the ANSI standard where you can check which flags
are
> > valid with which type specifiers?
>
> Sure.
>
> # is valid for o, x, X, e, E, f, g, G, undefined behaviour for others.
>
> 0 is valid for d, i, o, u, x, X, e, E, f, g, and G, undefined behaviour
>   for others.
>
> - is valid for all specifiers
>
> + is defined for "signed conversions", which I guess is d, i, e, E, f, F,
g.
>   Valid (but has no effect) for others.
>
Thanks, then one of the failures on taifun is definitely due to a bug in the
C library.  Would you prefer the test case to be disabled on taifun or
should I add the buggy expected output as valid output.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list