[ 
https://issues.apache.org/jira/browse/STDCXX-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Farid Zaripov updated STDCXX-548:
---------------------------------

    Attachment: stdcxx-548.patch

The patch is attached.

ChangeLog:

{noformat}
  STDCXX-548
  * src/punct.h: New header file with declaration of the __rw_get_stdio_fmat().
  * src/num_get.cpp: #included punct.h, removed declaration of the 
__rw_get_stdio_fmat().
  * src/num_put.cpp: Ditto.
  * src/punct.cpp: #included punct.h, use _RWSTD_STREAMSIZE instead of 
_STD::streamsize.
{noformat}


> add an internal header for __rw::__rw_get_stdio_fmat()
> ------------------------------------------------------
>
>                 Key: STDCXX-548
>                 URL: https://issues.apache.org/jira/browse/STDCXX-548
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4
>         Environment: All.
>            Reporter: Martin Sebor
>            Assignee: Farid Zaripov
>            Priority: Minor
>             Fix For: 4.2.1
>
>         Attachments: stdcxx-548.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The __rw::__rw_get_stdio_fmat() function (and perhaps some others) defined in 
> src/punct.cpp and declared as well as used in both num_get.cpp and 
> num_put.cpp. Changing the function signature involves changing three places 
> instead of two, which is error-prone. See 
> http://svn.apache.org/viewvc?rev=574738&view=rev and 
> http://svn.apache.org/viewvc?rev=574422&view=rev for an example where this 
> caused breakage.
> The function (and any other such examples) should be declared in a header to 
> prevent such incidents.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to