Bug 14821 – First argument of std.zlib.uncompress should be const

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-07-22T19:54:00Z
Last change time
2015-09-01T08:26:03Z
Assigned to
nobody
Creator
briancschott

Comments

Comment #0 by briancschott — 2015-07-22T19:54:32Z
According to the documentation for zlib the process of decompressing data does not modify the compressed data. The buffer that is passed to uncompress() should be marked const.
Comment #1 by dlang-bugzilla — 2015-09-01T05:54:09Z
Comment #2 by dlang-bugzilla — 2015-09-01T08:26:03Z
*** Issue 14888 has been marked as a duplicate of this issue. ***