rpms/parted/devel parted-1.9.0-handle-dup-error.patch,1.1,1.2
Joel Andres Granados Moreno
jgranado at fedoraproject.org
Wed Jul 29 08:02:49 UTC 2009
- Previous message (by thread): rpms/php-layers-menu/EL-5 import.log, NONE, 1.1 php-layers-menu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/parted/devel parted.spec,1.142,1.143
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jgranado
Update of /cvs/pkgs/rpms/parted/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12808
Modified Files:
parted-1.9.0-handle-dup-error.patch
Log Message:
Put the parenthesis where needed.
parted-1.9.0-handle-dup-error.patch:
disk.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: parted-1.9.0-handle-dup-error.patch
===================================================================
RCS file: /cvs/pkgs/rpms/parted/devel/parted-1.9.0-handle-dup-error.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- parted-1.9.0-handle-dup-error.patch 22 Jul 2009 10:18:08 -0000 1.1
+++ parted-1.9.0-handle-dup-error.patch 29 Jul 2009 08:02:49 -0000 1.2
@@ -1,24 +1,28 @@
-From 41bbcb45aaa89294cda404c89526aa7e251e02ca Mon Sep 17 00:00:00 2001
+From 4f14bec7eb887aba8b8e38b987bc01e8456a79fc Mon Sep 17 00:00:00 2001
From: Joel Granados Moreno <jgranado at redhat.com>
Date: Wed, 22 Jul 2009 12:08:34 +0200
Subject: [PATCH] Try to handle the duplicate error a little better.
---
- libparted/disk.c | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
+ libparted/disk.c | 4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libparted/disk.c b/libparted/disk.c
-index 3656d22..8529e50 100644
+index 3656d22..27611eb 100644
--- a/libparted/disk.c
+++ b/libparted/disk.c
-@@ -278,6 +278,7 @@ ped_disk_duplicate (const PedDisk* old_disk)
+@@ -277,8 +277,10 @@ ped_disk_duplicate (const PedDisk* old_disk)
+ for (old_part = ped_disk_next_partition (old_disk, NULL); old_part;
old_part = ped_disk_next_partition (old_disk, old_part)) {
if (ped_partition_is_active (old_part)) {
- if (!_add_duplicate_part (new_disk, old_part))
+- if (!_add_duplicate_part (new_disk, old_part))
++ if (!_add_duplicate_part (new_disk, old_part)){
+ _disk_pop_update_mode (new_disk);
goto error_destroy_new_disk;
++ }
}
}
+ if (!_disk_pop_update_mode (new_disk))
--
1.6.0.6
- Previous message (by thread): rpms/php-layers-menu/EL-5 import.log, NONE, 1.1 php-layers-menu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/parted/devel parted.spec,1.142,1.143
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list