Bug 13545 – Functions in std.file should take const(char)[] parameters, not char[] parameters
Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-27T20:24:00Z
Last change time
2014-10-30T20:19:02Z
Assigned to
nobody
Creator
bugzilla
Comments
Comment #0 by bugzilla — 2014-09-27T20:24:34Z
They shouldn't be modifying their called arguments.
Comment #1 by hsteoh — 2014-10-30T20:19:02Z
AFAICT, the current version of std.file in git HEAD only takes `in char[]` as parameters, which is basically `const(char[])`. So looks like this problem no longer exists.