brasero r1645 - in trunk: . src



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]