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

Farid Zaripov updated STDCXX-824:
---------------------------------

    Attachment: num_get.cpp.diff

The proposed patch is attached.

ChangeLog:
  * src/num_get.cpp (__rw_get_num): If type == _C_pvoid, convert the data in
  buf using __rw_strtoull() instead of __rw_strtoul() on LLP64 platforms.


> num_get facet reads void* type as unsigned long on all platforms including 
> LLP64
> --------------------------------------------------------------------------------
>
>                 Key: STDCXX-824
>                 URL: https://issues.apache.org/jira/browse/STDCXX-824
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: 22. Localization
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0
>         Environment: LLP64 platforms
>            Reporter: Farid Zaripov
>            Assignee: Farid Zaripov
>             Fix For: 4.2.1
>
>         Attachments: num_get.cpp.diff
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> The 22.locale.num.get.mt test fail on assertion when void* type has been 
> tested.
> The problem in that value for 64-bit void* type is extracted from buf as 
> 32-bit unsigned long type.

-- 
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