Open weaversa opened 4 years ago
tmpnam is not ideal for a number of reasons - the most prominent here being the lack of stability in a threaded environment. It would be nice to replace tmpnam with something like this:
tmpnam
https://stackoverflow.com/questions/6171552/popen-simultaneous-read-and-write
Or, just pick one or more top solvers written in C/C++ and integrate them tightly.
GCC: the use oftmpnam' is dangerous, better use mkstemp'
the use of
mkstemp'
I suggest https://en.cppreference.com/w/c/io/tmpfile
We'd be happy to accept a pull request :-)
tmpnam
is not ideal for a number of reasons - the most prominent here being the lack of stability in a threaded environment. It would be nice to replacetmpnam
with something like this:https://stackoverflow.com/questions/6171552/popen-simultaneous-read-and-write
Or, just pick one or more top solvers written in C/C++ and integrate them tightly.