brasero r617 - in branches/brasero_0_7: . src/plugins/checksum



Author: philippr
Date: Sat Jan 26 14:02:22 2008
New Revision: 617
URL: http://svn.gnome.org/viewvc/brasero?rev=617&view=rev

Log:
2008-01-26  Philippe Rouquier  <philippr svn gnome org>

Fix #508654 â Windows-compatibility doesn\'t truncate 64+ characters files. brasero-md5sum-file wasn\'t properly copying the track.

	* src/plugins/checksum/burn-md5sum-file.c:
	(brasero_md5sum_file_end):


Modified:
   branches/brasero_0_7/ChangeLog
   branches/brasero_0_7/src/plugins/checksum/burn-md5sum-file.c

Modified: branches/brasero_0_7/src/plugins/checksum/burn-md5sum-file.c
==============================================================================
--- branches/brasero_0_7/src/plugins/checksum/burn-md5sum-file.c	(original)
+++ branches/brasero_0_7/src/plugins/checksum/burn-md5sum-file.c	Sat Jan 26 14:02:22 2008
@@ -143,11 +143,11 @@
 
 static BraseroBurnResult
 brasero_md5sum_file_explore_directory (BraseroMd5sumFile *self,
-				  gint64 file_nb,
-				  const gchar *directory,
-				  const gchar *disc_path,
-				  GHashTable *excludedH,
-				  GError **error)
+				       gint64 file_nb,
+				       const gchar *directory,
+				       const gchar *disc_path,
+				       GHashTable *excludedH,
+				       GError **error)
 {
 	BraseroBurnResult result = BRASERO_BURN_OK;
 	BraseroMd5sumFilePrivate *priv;
@@ -178,11 +178,11 @@
 		graft_path = g_build_path (G_DIR_SEPARATOR_S, disc_path, name, NULL);
 		if (g_file_test (path, G_FILE_TEST_IS_DIR)) {
 			result = brasero_md5sum_file_explore_directory (self,
-								   file_nb,
-								   path,
-								   graft_path,
-								   excludedH,
-								   error);
+									file_nb,
+									path,
+									graft_path,
+									excludedH,
+									error);
 			g_free (path);
 			g_free (graft_path);
 
@@ -193,9 +193,9 @@
 		}
 
 		result = brasero_md5sum_file_start_md5 (self,
-						   path,
-						   graft_path,
-						   error);
+							path,
+							graft_path,
+							error);
 		g_free (graft_path);
 		g_free (path);
 
@@ -218,8 +218,8 @@
 
 static gboolean
 brasero_md5sum_file_clean_excluded_table_cb (gpointer key,
-					gpointer data,
-					gpointer user_data)
+					     gpointer data,
+					     gpointer user_data)
 {
 	if (GPOINTER_TO_INT (data) == 1)
 		return TRUE;
@@ -661,6 +661,7 @@
 		brasero_job_get_current_track (BRASERO_JOB (self), &track);
 		brasero_track_get_type (track, &type);
 		grafts = brasero_track_get_data_grafts_source (track);
+		excluded = brasero_track_get_data_excluded_source (track, TRUE);
 
 		for (; grafts; grafts = grafts->next) {
 			graft = grafts->data;
@@ -675,8 +676,6 @@
 
 		track = brasero_track_new (BRASERO_TRACK_TYPE_DATA);
 		brasero_track_add_data_fs (track, type.subtype.fs_type);
-
-		excluded = brasero_track_get_data_excluded_source (track, TRUE);
 		brasero_track_set_data_source (track, new_grafts, excluded);
 
 		brasero_track_set_checksum (track,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]