[GiNaC-list] Patch: Replace mktemp with mkstemp
Till Hofmann
thofmann at fedoraproject.org
Fri Oct 7 18:18:52 CEST 2016
Hi all,
while building 1.7.1 I noticed that mktemp is still used. I've attached
a patch that replaces mktemp with mkstemp. Note that the behavior is
slightly different: The file is opened twice because mkstemp directly
opens the file, too. I'm not aware of any other solution to safely
create an ofstream for a tmp file. If there is, please let me know.
Kind regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Replace-mktemp-with-mkstemp.patch
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20161007/1630b38d/attachment.patch>
More information about the GiNaC-list
mailing list