brasero r1151 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1151 - in trunk: . src
- Date: Sat, 23 Aug 2008 11:55:09 +0000 (UTC)
Author: philippr
Date: Sat Aug 23 11:55:08 2008
New Revision: 1151
URL: http://svn.gnome.org/viewvc/brasero?rev=1151&view=rev
Log:
Fix a bug where some symlinks pointing to files were detected as looping
* src/brasero-data-vfs.c
(brasero_data_vfs_directory_check_symlink_loop):
Modified:
trunk/ChangeLog
trunk/src/brasero-data-vfs.c
Modified: trunk/src/brasero-data-vfs.c
==============================================================================
--- trunk/src/brasero-data-vfs.c (original)
+++ trunk/src/brasero-data-vfs.c Sat Aug 23 11:55:08 2008
@@ -324,6 +324,10 @@
priv = BRASERO_DATA_VFS_PRIVATE (self);
+ /* Of course for a loop to exist, it must be a directory */
+ if (g_file_info_get_file_type (info) != G_FILE_TYPE_DIRECTORY)
+ return FALSE;
+
target_uri = g_file_info_get_symlink_target (info);
if (!target_uri)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]