Thread overview
[Issue 20490] malloc and calloc should be @safe / @trusted
[Issue 20490] malloc and free should be @safe / @trusted
Jan 08, 2020
Dlang Bot
Jan 08, 2020
Nathan S.
Apr 13, 2022
Dennis
January 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20490

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/druntime pull request #2901 "Fix Issue 20490 - malloc and free should be `@safe` / `@trusted`" fixing this issue:

- Fix Issue 20490 - malloc and free should be `@safe` / `@trusted`

  There is no good reason not to annotate them correctly.

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

--
January 08, 2020
https://issues.dlang.org/show_bug.cgi?id=20490

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|malloc and free should be   |malloc and calloc should be
                   |@safe / @trusted            |@safe / @trusted

--
April 13, 2022
https://issues.dlang.org/show_bug.cgi?id=20490

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dkorpel@live.nl
         Resolution|---                         |WONTFIX

--- Comment #2 from Dennis <dkorpel@live.nl> ---
Unfortunately, Walter decided against it: https://github.com/dlang/druntime/pull/2901#issuecomment-1086999519

--