diff --git a/gparted-realpath-fix.patch b/gparted-realpath-fix.patch index 815f8c4..af44446 100644 --- a/gparted-realpath-fix.patch +++ b/gparted-realpath-fix.patch @@ -1,6 +1,6 @@ --- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500 -+++ src/GParted_Core.cc.new 2007-10-30 00:29:11.000000000 -0400 -@@ -487,12 +487,15 @@ ++++ src/GParted_Core.cc.new 2007-11-22 00:01:43.000000000 -0500 +@@ -487,19 +487,23 @@ while ( getline( proc_partitions, line ) ) if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 ) { @@ -17,9 +17,9 @@ line != c_str ) { //because we can make no assumption about which path libparted will detect -@@ -500,6 +503,8 @@ + //we add all combinations. alternate_paths[ c_str ] = line ; - alternate_paths[ line ] = c_str ; +- alternate_paths[ line ] = c_str ; } + if ( real_path ) + free( real_path ) ; diff --git a/gparted.spec b/gparted.spec index 9134a02..0228c55 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 13%{?dist} +Release: 14%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -87,6 +87,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Nov 22 2007 Deji Akingunola - 0.3.3-14 +- Fix to detect full path to device/partition pathname (Bug #395071) + * Tue Oct 30 2007 Deji Akingunola - 0.3.3-13 - Fix crash after refresh bug (Bug #309251, Fix by Jim Hayward) - Fix to use realpath properly (Bug #313281, Fix by Jim Hayward)