https://issues.dlang.org/show_bug.cgi?id=17102

Jack Stouffer <j...@jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #4 from Jack Stouffer <j...@jackstouffer.com> ---
(In reply to Vladimir Panteleev from comment #3)
> I don't think it's the job of the standard library to validate that the
> input parameter is valid before passing it to a C API.

We can at least add an assert with an error message.

> Either way, finding the cause of the segmentation fault would have been as
> simple as running your program under a debugger.

Impossible with macOS.

--

Reply via email to