Bug 20513 – Return type of wmemchr should be inout(wchar_t)* rather than wchar_t*

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-01-16T20:39:14Z
Last change time
2020-01-17T05:22:26Z
Keywords
pull
Assigned to
No Owner
Creator
Nathan S.

Comments

Comment #0 by n8sh.secondary — 2020-01-16T20:39:14Z
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 by dlang-bot — 2020-01-16T20:43:19Z
@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 by dlang-bot — 2020-01-17T05:22:26Z
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