Fix use of hard-coded temporary filename
authorMark Abraham <mark.j.abraham@gmail.com>
Tue, 26 May 2015 00:53:42 +0000 (02:53 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 26 May 2015 12:11:22 +0000 (14:11 +0200)
commit4b1e5a1868b49cea906b9822df0f21c132088573
tree489a44c864a4461727df75076a84290ae4537fc0
parent47b126972708ff38674a62db41039b668a6c9737
Fix use of hard-coded temporary filename

Using temp.top can run into a user file of the same name, which is
unfriendly. Instead, use the function we have for doing the job of
making a temporary filename.

Fixes #1747

Change-Id: Ia6266e5605dd14032743e11f5dc68a520c47ce06
src/gromacs/gmxana/gmx_genion.c
src/gromacs/gmxpreprocess/solvate.cpp
src/programs/mdrun/membed.c