Hello community, here is the log from the commit of package dmraid for openSUSE:Factory checked in at Wed Oct 21 00:10:20 CEST 2009. -------- --- dmraid/dmraid.changes 2009-10-03 15:23:03.000000000 +0200 +++ dmraid/dmraid.changes 2009-10-06 00:32:30.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Oct 5 22:19:52 UTC 2009 - crrodriguez@opensuse.org + +- fix a few more fdleaks [bnc#543151] + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmraid.spec ++++++ --- /var/tmp/diff_new_pack.aUdHRZ/_old 2009-10-21 00:09:42.000000000 +0200 +++ /var/tmp/diff_new_pack.aUdHRZ/_new 2009-10-21 00:09:42.000000000 +0200 @@ -28,7 +28,7 @@ AutoReqProv: on Summary: A Device-Mapper Software RAID Support Tool Version: 1.0.0.rc15 -Release: 8 +Release: 9 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1: sysconfig.dmraid Source2: boot.dmraid ++++++ dmraid-fdleak.patch ++++++ --- /var/tmp/diff_new_pack.aUdHRZ/_old 2009-10-21 00:09:43.000000000 +0200 +++ /var/tmp/diff_new_pack.aUdHRZ/_new 2009-10-21 00:09:43.000000000 +0200 @@ -1,7 +1,7 @@ Index: libdmraid-events/libdmraid-events.c =================================================================== --- libdmraid-events/libdmraid-events.c.orig 2008-07-18 23:30:05.000000000 +0200 -+++ libdmraid-events/libdmraid-events.c 2009-10-03 14:55:34.000000000 +0200 ++++ libdmraid-events/libdmraid-events.c 2009-10-05 23:39:07.000000000 +0200 @@ -180,6 +180,7 @@ static int _repopulate(const char* devic } fscanf(fd, "%s", curr->raid_mem[curr->num_sata_drives].major_minor); @@ -18,3 +18,24 @@ rv_next->raid_mem[m].port_num = atoi(dir_ent[j]->d_name); m++; break; +Index: lib/device/partition.c +=================================================================== +--- lib/device/partition.c.orig 2009-10-05 23:39:06.000000000 +0200 ++++ lib/device/partition.c 2009-10-06 00:19:12.000000000 +0200 +@@ -30,12 +30,15 @@ _remove_subset_partitions(struct lib_con + /* There is no way to enumerate partitions */ + for (part.pno = 1; part.pno <= 256; part.pno++) { + if (ioctl(fd, BLKPG, &io) < 0 && errno != ENXIO && +- (part.pno < 16 || errno != EINVAL)) ++ (part.pno < 16 || errno != EINVAL)) { ++ close(fd); + LOG_ERR(lc, 0, + "removing part %d from %s: %s\n", + part.pno, rd->di->path, + strerror(errno)); ++ } + } ++ close(fd); + } + return 1; + } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org