Hello community,

here is the log from the commit of package util-linux for openSUSE:Factory
checked in at Wed Oct 12 16:16:54 CEST 2011.



--------
--- openSUSE:Factory/util-linux/util-linux.changes      2011-10-06 
16:46:36.000000000 +0200
+++ /mounts/work_src_done/STABLE/util-linux/util-linux.changes  2011-10-12 
11:30:21.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Oct 12 09:26:40 UTC 2011 - [email protected]
+
+- add fdisk-dont-shorten-long-path-to-disk.patch (bnc#722959) 
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  fdisk-dont-shorten-long-path-to-disk.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ util-linux.spec ++++++
--- /var/tmp/diff_new_pack.5Lces8/_old  2011-10-12 16:16:50.000000000 +0200
+++ /var/tmp/diff_new_pack.5Lces8/_new  2011-10-12 16:16:50.000000000 +0200
@@ -89,6 +89,7 @@
 Patch3:         util-linux-sfdisk-manpage-fix.patch
 Patch4:         util-linux-lib-sysfs-deinit.patch
 Patch5:         util-linux-2.20-libmount-deps.patch
+Patch6:         fdisk-dont-shorten-long-path-to-disk.patch
 
 ##
 ## adjtimex
@@ -193,6 +194,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 #
 cd adjtimex-*

++++++ fdisk-dont-shorten-long-path-to-disk.patch ++++++
>From 8176a344041c7a2b7bf6f05353bf9414c9d3b254 Mon Sep 17 00:00:00 2001
From: Karel Zak <[email protected]>
Date: Wed, 12 Oct 2011 10:15:58 +0200
Subject: [PATCH] fdisk: don't shorten long path to disk device

Reported-by: Petr Uzel <[email protected]>
Signed-off-by: Karel Zak <[email protected]>
Signed-off-by: Petr Uzel <[email protected]>
---
 fdisk/partname.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Index: util-linux-2.20/fdisk/partname.c
===================================================================
--- util-linux-2.20.orig/fdisk/partname.c
+++ util-linux-2.20/fdisk/partname.c
@@ -5,13 +5,14 @@
 #include "blkdev.h"
 #include "pathnames.h"
 #include "common.h"
+#include "c.h"
 
 /*
  * return partition name - uses static storage unless buf is supplied
  */
 char *
 partname(char *dev, int pno, int lth) {
-       static char bufp[80];
+       static char bufp[PATH_MAX];
        char *p;
        int w, wp;
 
continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to