fedora-cvs-commits@redhat.com
[Top] [All Lists]

rpms/util-linux/FC-5 util-linux-2.13-hexdump-gcc.patch, NONE, 1.1 util-l

Subject: rpms/util-linux/FC-5 util-linux-2.13-hexdump-gcc.patch, NONE, 1.1 util-linux-2.13-mount-context.patch, 1.1, 1.2 util-linux-2.13-mount-uuid.patch, 1.1, 1.2 util-linux.spec, 1.113, 1.114
From:
Date: Fri, 31 Mar 2006 04:07:49 -0500
Author: kzak

Update of /cvs/dist/rpms/util-linux/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv29689

Modified Files:
        util-linux-2.13-mount-context.patch 
        util-linux-2.13-mount-uuid.patch util-linux.spec 
Added Files:
        util-linux-2.13-hexdump-gcc.patch 
Log Message:
fix things reported by rpmdiff

util-linux-2.13-hexdump-gcc.patch:
 display.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE util-linux-2.13-hexdump-gcc.patch ---

 gcc 4.1.0: "warning: memset used with constant zero length parameter; this
 could be due to transposed parameters". So, fix it!
 -- 03/30/2006 Karel Zak <kzak@xxxxxxxxxx> 

--- util-linux-2.13-pre7/text-utils/display.c.gcc       2006-03-31 
10:44:50.000000000 +0200
+++ util-linux-2.13-pre7/text-utils/display.c   2006-03-31 10:45:22.000000000 
+0200
@@ -255,7 +255,8 @@
                                        (void)printf("*\n");
                                return(NULL);
                        }
-                       memset((char *)curp + nread, 0, need);
+                       if (need > 0)
+                               memset((char *)curp + nread, 0, need);
                        eaddress = address + nread;
                        return(curp);
                }

util-linux-2.13-mount-context.patch:
 mount.8 |   44 +++++++++++++++++++++++++++++++++++++++++++
 mount.c |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 107 insertions(+), 2 deletions(-)

Index: util-linux-2.13-mount-context.patch
===================================================================
RCS file: /cvs/dist/rpms/util-linux/FC-5/util-linux-2.13-mount-context.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- util-linux-2.13-mount-context.patch 30 Mar 2006 20:04:10 -0000      1.1
+++ util-linux-2.13-mount-context.patch 31 Mar 2006 09:07:46 -0000      1.2
@@ -1,3 +1,8 @@
+
+ This patch adds to the mount man page docs about context, fscontext and
+defcontext mount options and translate context options from human to raw
+selinux context format.  -- 03/30/2006 Karel Zak <kzak@xxxxxxxxxx> 
+
 --- util-linux-2.13-pre7/mount/mount.8.cxt     2006-03-30 17:15:06.000000000 
+0200
 +++ util-linux-2.13-pre7/mount/mount.8 2006-03-30 17:15:06.000000000 +0200
 @@ -661,6 +661,50 @@

util-linux-2.13-mount-uuid.patch:
 fstab.c       |   16 ++++++----------
 mount_blkid.c |    5 +++++
 mount_blkid.h |    1 +
 3 files changed, 12 insertions(+), 10 deletions(-)

Index: util-linux-2.13-mount-uuid.patch
===================================================================
RCS file: /cvs/dist/rpms/util-linux/FC-5/util-linux-2.13-mount-uuid.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- util-linux-2.13-mount-uuid.patch    30 Mar 2006 20:04:10 -0000      1.1
+++ util-linux-2.13-mount-uuid.patch    31 Mar 2006 09:07:46 -0000      1.2
@@ -1,3 +1,8 @@
+
+ The UUID code in the mount command is broken -- en example UUID= in the fstab
+ file is reason for SIGSEG when non-root user tries umount any device.
+ -- 03/30/2006 Karel Zak <kzak@xxxxxxxxxx> 
+
 --- util-linux-2.13-pre6/mount/mount_blkid.h.uuid      2006-03-29 
15:34:24.000000000 +0200
 +++ util-linux-2.13-pre6/mount/mount_blkid.h   2006-03-29 15:34:57.000000000 
+0200
 @@ -8,5 +8,6 @@


Index: util-linux.spec
===================================================================
RCS file: /cvs/dist/rpms/util-linux/FC-5/util-linux.spec,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- util-linux.spec     30 Mar 2006 20:04:10 -0000      1.113
+++ util-linux.spec     31 Mar 2006 09:07:46 -0000      1.114
@@ -25,7 +25,7 @@
 Summary: A collection of basic system utilities.
 Name: util-linux
 Version: 2.13
-Release: 0.20.1
+Release: 0.20.2
 License: distributable
 Group: System Environment/Base
 
@@ -190,6 +190,8 @@
 # 152579 - missing info about /etc/mtab and /proc/mounts mismatch
 # 183890 - missing info about possible ioctl() and fcntl() problems on NFS 
filesystem
 Patch233: util-linux-2.13-mount-man-bugs.patch
+# Keep gcc happy
+Patch234: util-linux-2.13-hexdump-gcc.patch
 
 # When adding patches, please make sure that it is easy to find out what bug # 
the 
 # patch fixes.
@@ -274,6 +276,7 @@
 %patch231 -p1
 %patch232 -p1
 %patch233 -p1
+%patch234 -p1
 
 %build
 unset LINGUAS || :
@@ -658,7 +661,10 @@
 /sbin/losetup
 
 %changelog
-* Thu Mar 30 2006 Karel Zak <kzak@xxxxxxxxxx>  2.13-0.20.1
+* Fri Mar 31 2006 Karel Zak <kzak@xxxxxxxxxx> 2.13-0.20.2
+- fix memset() usage (and prevent gcc warning)
+
+* Thu Mar 30 2006 Karel Zak <kzak@xxxxxxxxxx> 2.13-0.20.1
 - sync with upstream 2.13-pre7 release
 - fix #187014 - umount segfaults for normal user
 - fix #184410 - RHEL3 and RHEL4 mount supports 'noacl', FC5 mount command does 
not

-- 
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits

<Prev in Thread] Current Thread [Next in Thread>
  • rpms/util-linux/FC-5 util-linux-2.13-hexdump-gcc.patch, NONE, 1.1 util-linux-2.13-mount-context.patch, 1.1, 1.2 util-linux-2.13-mount-uuid.patch, 1.1, 1.2 util-linux.spec, 1.113, 1.114, fedora-cvs-commits <=