Re: [PATCH v2] Cygwin: Have tmpfile(3) use O_TMPFILE

2021-02-12 Thread Mark Geisert
Corinna Vinschen via Cygwin-patches wrote: [...] The patch was missing the EXPORT_ALIAS for tmpfile64, as outlined in https://cygwin.com/pipermail/cygwin-developers/2021-February/012039.html I added this to the patch and pushed it. Oof, I missed that on the v2 patch. Thanks for catching it! .

Re: [PATCH v2] Cygwin: Have tmpfile(3) use O_TMPFILE

2021-02-12 Thread Corinna Vinschen via Cygwin-patches
On Feb 10 22:53, Mark Geisert wrote: > Per discussion on cygwin-developers, a Cygwin tmpfile(3) implementation > has been added to syscalls.cc. This overrides the one supplied by > newlib. Then the open(2) flag O_TMPFILE was added to the open call that > tmpfile internally makes. > > This v2 pat

[PATCH v2] Cygwin: Have tmpfile(3) use O_TMPFILE

2021-02-10 Thread Mark Geisert
Per discussion on cygwin-developers, a Cygwin tmpfile(3) implementation has been added to syscalls.cc. This overrides the one supplied by newlib. Then the open(2) flag O_TMPFILE was added to the open call that tmpfile internally makes. This v2 patch removes O_CREAT from open() call as O_TMPFILE