D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20513 - Return type of wmemchr should be inout(wchar_t)* rather than wchar_t*
Summary: Return type of wmemchr should be inout(wchar_t)* rather than wchar_t*
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: All All
: P1 minor
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2020-01-16 20:39 UTC by Nathan S.
Modified: 2020-01-17 05:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nathan S. 2020-01-16 20:39:14 UTC
Current: pure wchar_t* wmemchr(return const wchar_t* s, wchar_t c, size_t n);
Proposed: pure inout(wchar_t)* wmemchr(return inout wchar_t* s, wchar_t c, size_t n);
Comment 1 Dlang Bot 2020-01-16 20:43:19 UTC
@n8sh updated dlang/druntime pull request #2909 "Fix Issue 20512, 20513 - Return type of memchr/wmemchr should be inout(void)*/inout(wchar_t)* rather than void*/wchar_t*" fixing this issue:

- Fix Issue 20512 & 20513 - Return types of memchr and wmemchr should be inout

https://github.com/dlang/druntime/pull/2909
Comment 2 Dlang Bot 2020-01-17 05:22:26 UTC
dlang/druntime pull request #2909 "Fix Issue 20512, 20513 - Return type of memchr/wmemchr should be inout(void)*/inout(wchar_t)* rather than void*/wchar_t*" was merged into master:

- 88de245e172bdcd812d4ea2d7b62de8f57d45f07 by Nathan Sashihara:
  Fix Issue 20512 & 20513 - Return types of memchr and wmemchr should be inout

https://github.com/dlang/druntime/pull/2909