brasero r1645 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1645 - in trunk: . src
- Date: Wed, 17 Dec 2008 19:57:00 +0000 (UTC)
Author: philippr
Date: Wed Dec 17 19:57:00 2008
New Revision: 1645
URL: http://svn.gnome.org/viewvc/brasero?rev=1645&view=rev
Log:
Make sure all temporary files obey the specified location
* src/burn-session.c (brasero_burn_session_start):
Modified:
trunk/ChangeLog
trunk/src/burn-session.c
Modified: trunk/src/burn-session.c
==============================================================================
--- trunk/src/burn-session.c (original)
+++ trunk/src/burn-session.c Wed Dec 17 19:57:00 2008
@@ -1397,9 +1397,16 @@
if (!priv->session_path) {
int fd;
+ const gchar *tmpdir;
+ /* takes care of the output file */
+ tmpdir = priv->settings->tmpdir ?
+ priv->settings->tmpdir :
+ g_get_tmp_dir ();
+
+ /* This must obey the path of the temporary directory */
priv->session_path = g_build_path (G_DIR_SEPARATOR_S,
- g_get_tmp_dir (),
+ tmpdir,
BRASERO_BURN_TMP_FILE_NAME,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]