Temporary file tweaks.
authorJames W. Barnett <jbarnet4@tulane.edu>
Mon, 17 Aug 2015 18:51:01 +0000 (13:51 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 5 Oct 2015 19:17:13 +0000 (21:17 +0200)
commit5aaf33f2fee02e4bdaa2273b4b1cc95758e6bb2e
tree35b93dedefa9c3a9fa5644c0f163fca06201eff9
parent4fb0842dea2696182c6e281eb99d92827493d791
Temporary file tweaks.

Create gmx_fopen_temporary which creates tmp file via mkstemp and opens it,
returning a file pointer. gmx_tmpnam is still used to return a tmp
file name when the file is not opened right away. Use make_backup
and gmx rename tool when moving temp file to updated file.

Change-Id: I0a5aa0ec284324717751755598438a5e2fc33146
src/gromacs/gmxana/gmx_genion.cpp
src/gromacs/gmxpreprocess/solvate.cpp
src/gromacs/utility/futil.cpp
src/gromacs/utility/futil.h
src/programs/view/dialogs.cpp
src/programs/view/filter.cpp