commit util-linux for openSUSE:Factory

Hello community, here is the log from the commit of package util-linux for openSUSE:Factory checked in at Tue Oct 27 16:47:25 CET 2009. -------- --- util-linux/util-linux.changes 2009-10-20 12:14:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/util-linux/util-linux.changes 2009-10-26 18:47:27.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Oct 26 17:45:53 UTC 2009 - crrodriguez@opensuse.org + +- fsck during boot up fails with Too many open files [bnc#503008] + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- util-linux-ng-bnc503008.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.lh0tLa/_old 2009-10-27 16:47:08.000000000 +0100 +++ /var/tmp/diff_new_pack.lh0tLa/_new 2009-10-27 16:47:08.000000000 +0100 @@ -29,7 +29,7 @@ Group: System/Base AutoReqProv: on Version: 2.16 -Release: 4 +Release: 5 Requires: %name-lang = %{version} Summary: A collection of basic system utilities Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%version.tar.bz2 @@ -68,6 +68,7 @@ Patch2: util-linux-2.14.1-mount_skip_sync.patch # crypto patch Patch3: util-linux-mount_losetup_crypto.patch +Patch4: util-linux-ng-bnc503008.patch ## ## adjtimex ## @@ -152,6 +153,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # cd adjtimex-* %patch50 -p1 ++++++ util-linux-ng-bnc503008.patch ++++++ commit fdf08588af55d07a99b411708a08f4ebe6819706 Author: Theodore Ts'o <tytso@mit.edu> Date: Sat Oct 3 12:50:06 2009 -0400 lib: fix file descriptor leak in is_mounted() Remove an extraneous fopen() that leaks memory and a file descriptor. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> diff --git a/lib/ismounted.c b/lib/ismounted.c index 28ae325..fbe91f9 100644 --- a/lib/ismounted.c +++ b/lib/ismounted.c @@ -70,9 +70,6 @@ static int check_mntent_file(const char *mtab_file, const char *file, char buf[1024], *device = 0, *mnt_dir = 0, *cp; *mount_flags = 0; - if ((f = fopen(mtab_file, "r")) == NULL) - return errno; - if ((f = setmntent (mtab_file, "r")) == NULL) return errno; if (stat(file, &st_buf) == 0) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de