[CABMAN] Do not use tmpfile() because it does not work well on Windows XP
authorEric Kohl <eric.kohl@reactos.org>
Thu, 19 Sep 2019 12:56:50 +0000 (14:56 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Thu, 19 Sep 2019 12:56:50 +0000 (14:56 +0200)
commit7afc888279c6c09bc80339a556d451a627cd4482
tree0ef9e90010db1b7835974a416d5122f37a2ae616
parent658d5a3ff5e9f1dcf88d602ac443039faa6c7a8c
[CABMAN] Do not use tmpfile() because it does not work well on Windows XP

- Use tempnam() and fopen() instead.
- Prevent the use of file names with a leading slash or backslash.
- Also prevent the use of file names with a trailing dot.
- Remove temporary files after use.
sdk/tools/cabman/CCFDATAStorage.cxx