[Mplayerplug-in-cvs] mplayerplug-in/Source plugin-ui.cpp,1.130,1.131
Brought to you by:
kdekorte
From: Kevin D. <kde...@us...> - 2005-07-31 19:20:48
|
Update of /cvsroot/mplayerplug-in/mplayerplug-in/Source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9303/Source Modified Files: plugin-ui.cpp Log Message: Change tmp file handling in save config Index: plugin-ui.cpp =================================================================== RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/plugin-ui.cpp,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** plugin-ui.cpp 31 Jul 2005 16:05:43 -0000 1.130 --- plugin-ui.cpp 31 Jul 2005 19:20:25 -0000 1.131 *************** *** 1642,1646 **** strlcat(config_name, "/.mplayer/mplayerplug-in.conf", 1000); ! snprintf(tmp_name, 1000, "%s", tempnam("/tmp", "confXXXXXX")); if (DEBUG) { --- 1642,1647 ---- strlcat(config_name, "/.mplayer/mplayerplug-in.conf", 1000); ! snprintf(tmp_name, 1000, "%s", getenv("HOME")); ! strlcat(tmp_name, "/.mplayer/mplayerplug-in.conf.tmp", 1000); if (DEBUG) { |