On 06.01.2015 20:03, Roger Pack wrote: > On 1/5/15, LRN <[email protected]> wrote: >> On 06.01.2015 2:38, Roger Pack wrote: >>> Hello all. >>> As a note, it would be nice to have an mkstemp method defined [1] >>> >>> I know gnutls should probably work around it, but it would be a nice >>> convenience as well, I saw these other comments in various projects: >>> >>> win32/ffmpeg_git_shared.installed/include/libavutil/file.h >>> >>> 55: * Wrapper to work around the lack of mkstemp() on mingw. >>> >>> win32/fontconfig-2.11.1/ChangeLog >>> >>> 621: Fix mkstemp absence for some platform >>> >> >> giflib also requires a mkstemp implementation. >> >> That said, such implementation is really just 42 lines of C code. Is it >> worth >> including in libmingwex? What *are* the criteria for including functions in >> libmingwex? > > The giflib people mention it's in some kind of (IEEE) spec so...maybe > that makes it somehow worth implementing more? :) > https://sourceforge.net/p/giflib/bugs/45/
"IEEE Std 1003.1-2001" seems to be a fancy way of saying "POSIX". Also, the advice for "upstream mingw" (ignoring the fact that there are two upstream mingws - mingw-w64 and mingw.org) to move mkstemp implementation from msys to mingw is kinda...off. The gittable source linked in the bug report is, in fact, from mingwget, the mingw.org package manager (not sure why it's in msys repository of a random github user...). So this is as much "moving out of msys" as copying any mkstemp implementation would be. And moving stuff out of real msys/cygwin is out of the question (both because *they* have a whole POSIX layer to work on top of, and because of GPL). -- O< ascii ribbon - stop html email! - www.asciiribbon.org
0x922360B0.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
