[gparted] Remove temporary file after reading UUID of fat16 and fat32 filesystems
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Remove temporary file after reading UUID of fat16 and fat32 filesystems
- Date: Fri, 10 Feb 2012 17:36:30 +0000 (UTC)
commit 88cfe40a8b1ce59ab8e1ed56ac029e998547d51b
Author: Rogier Goossens <goossens rogier gmail com>
Date: Wed Feb 8 09:31:14 2012 +0100
Remove temporary file after reading UUID of fat16 and fat32 filesystems
src/fat16.cc | 2 ++
src/fat32.cc | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/fat16.cc b/src/fat16.cc
index c8a3e06..e4ad513 100644
--- a/src/fat16.cc
+++ b/src/fat16.cc
@@ -214,6 +214,8 @@ void fat16::read_uuid( Partition & partition )
if ( ! error .empty() )
partition .messages .push_back( error ) ;
}
+
+ err_msg = Utils::delete_mtoolsrc_file( fname );
}
bool fat16::write_uuid( const Partition & partition, OperationDetail & operationdetail )
diff --git a/src/fat32.cc b/src/fat32.cc
index db479f2..aa77cd1 100644
--- a/src/fat32.cc
+++ b/src/fat32.cc
@@ -201,6 +201,8 @@ void fat32::read_uuid( Partition & partition )
if ( ! error .empty() )
partition .messages .push_back( error ) ;
}
+
+ err_msg = Utils::delete_mtoolsrc_file( fname );
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]