Geoff Clare <g...@opengroup.org> wrote, on 22 Feb 2019:
>
> I'd suggest that what we need to do is:
> 
> 1. Reopen 472 and add a new note that is a modified copy of note 886 that:
> 
>     * starts with an ambiguous case interp response
> 
>     * includes the extra change from note 892
> 
>     * omits the mention of leading sign characters in the "minimum field
>       width is not specified" case
> 
>     * also fixes the padding issue raised in bug 1184
> 
> 2. Change the tag on bug 472 from issue8 to tc3-2008 and put it through
> a new interp review.
> 
> 3. Close bug 1184 as a dup of 472.

Here's my attempt at a replacement for the L63558-63562 change in bug
472 (note 886) which addresses the last two bullets in item 1 above.
It doesn't just omit mention of sign characters as I suggested; instead
it splits the no-field-width case into an unshaded part that matches
C99 and a CX shaded part that covers values outside the (00-99) range
that C99 specifies.

----------------
If a minimum field width is not specified:
<ul>
<li> If the year is between 0 and 9999 inclusive, two characters shall
be placed into the array pointed to by <i>s</i>, including a leading '0'
if there would otherwise be only a single digit.</li>
<li> [CX]If the year is less than 0 or greater than 9999, the number of
characters placed into the array pointed to by <i>s</i> shall be the number
of digits and leading sign characters (if any) in the result of dividing
the year by 100 and truncating, or two, whichever is greater.[/CX]
</li>
</ul>
[CX] If a minimum field width is specified, the number of characters
placed into the array pointed to by <i>s</i> shall be the number of
digits and leading sign characters (if any) in the result of dividing
the year by 100 and truncating, or the minimum field width, whichever
is greater.[/CX]
----------------

If folks are okay with this, I will create a new note in bug 472 that 
includes it and also covers the first two bullets in item 1 above.

-- 
Geoff Clare <g.cl...@opengroup.org>
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England

Reply via email to