Bug 20512 – Return type of memchr should be inout(void)* rather than void*
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-01-16T20:38:11Z
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:38:11Z
Current: void* memchr(return const void* s, int c, size_t n) pure
Proposed: inout(void)* memchr(return inout void* s, int c, size_t n) pure;
Comment #1 by dlang-bot — 2020-01-16T20:41:56Z
@n8sh created 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 - Return type of memchr should be inout(void)* rather than void*
Fix Issue 20513 - Return type of wmemchr should be inout(wchar_t)* rather than wchar_t*
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