Creating named tempfiles

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 22:16:49 PST 2015


On Wednesday, February 04, 2015 03:33:50 Martin Nowak via Digitalmars-d wrote:
> As you might have noticed already, this functionality is currently
> missing in phobos leading people to write buggy or platform specific code.
>
> We just fixed this in dub.
> https://github.com/D-Programming-Language/dub/pull/497
>
> Time to finally add this to phobos, what's missing is someone to
> implement it ;).
> https://issues.dlang.org/show_bug.cgi?id=13996

I have an implementation for it already, but I get linker errors for _wsopen
and any of its variants on Windows, so it doesn't work on Windows. If it
weren't for that, I'd have created a pull request for it quite some time
ago.

Has anyone else ever used _wsopen or its variants with dmd? If so, I'd love
to know how they got them to link.

- Jonathan M Davis



More information about the Digitalmars-d mailing list