extract.c: replace tempnam() with mkstemp() on non-Windows
authorEric Biggers <ebiggers3@gmail.com>
Sat, 6 Feb 2016 15:47:08 +0000 (09:47 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 9 Feb 2016 01:43:11 +0000 (19:43 -0600)
commit011502c8756394066172b3164567a8b9835cc280
treef2f2e344c8f9133c79eff7986d902281d5489c4b
parent5ba1093ddc24f41f2f4179aeb8e2c8e86401af8c
extract.c: replace tempnam() with mkstemp() on non-Windows

tempnam() produces an annoying warning when linking, even though wimlib
was using it safely (with O_EXCL to make it race-free).  Just replace it
with mkstemp() anyway.
include/wimlib_tchar.h
src/extract.c