linville pushed to unzoo (f22). "Fix the compiler warning patch..."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 21:40:34 UTC 2015


>From 930b18613abe701283643da6cc7b0c73bee82743 Mon Sep 17 00:00:00 2001
From: "John W. Linville" <linville at tuxdriver.com>
Date: Mon, 30 Mar 2015 15:23:58 -0400
Subject: Fix the compiler warning patch...


diff --git a/unzoo-warning-fixes.patch b/unzoo-warning-fixes.patch
index 6d552de..9404dbd 100644
--- a/unzoo-warning-fixes.patch
+++ b/unzoo-warning-fixes.patch
@@ -31,7 +31,7 @@ diff -up unzoo-4.4/unzoo.c.warnings unzoo-4.4/unzoo.c
  {
      /* read the text at the beginning                                      */
 -    BlckReadArch(Descript.text,20L);  Descript.text[20] = '\0';
-+    BlckReadArch(Descript.text,19L);  Descript.text[19] = '\0';
++    BlckReadArch(Descript.text,20L);  Descript.text[19] = '\0';
  
      /* try to read the magic words                                         */
      if ( (Descript.magic = WordReadArch()) != (unsigned long)0xfdc4a7dcL )
diff --git a/unzoo.spec b/unzoo.spec
index 35e8222..b1bcbca 100644
--- a/unzoo.spec
+++ b/unzoo.spec
@@ -1,6 +1,6 @@
 Name:           unzoo
 Version:        4.4
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        ZOO archive extractor
 
 Group:          Applications/Archiving
@@ -55,6 +55,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Mar 30 2015 John W. Linville <linville at redhat.com> - 4.4-14
+- Fix the compiler warning patch...
+
 * Mon Mar 30 2015 John W. Linville <linville at redhat.com> - 4.4-13
 - Replace strcpy/strcat with strncpy/strncat to avoid some buffer overflows
 - Check for backward-pointing directory entries to avoid endless looping
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/unzoo.git/commit/?h=f22&id=930b18613abe701283643da6cc7b0c73bee82743


More information about the scm-commits mailing list