[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ubuntu dpkg 1.14.5ubuntu16



This e-mail has been sent due to an upload to Ubuntu that contains Ubuntu
changes.  It contains the difference between the new version and the
previous version of the same source package in Ubuntu.
Format: 1.7
Date: Fri, 21 Sep 2007 19:03:36 +0100
Source: dpkg
Binary: dpkg dselect dpkg-dev
Architecture: source
Version: 1.14.5ubuntu16
Distribution: gutsy
Urgency: low
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Changed-By: Ian Jackson <iwj@ubuntu.com>
Description: 
 dpkg       - package maintenance system for Debian
 dpkg-dev   - package building tools for Debian
 dselect    - user tool to manage Debian packages
Changes: 
 dpkg (1.14.5ubuntu16) gutsy; urgency=low
 .
   * Fix some portability problems revealed by compiler warnings:
     - missing <dpkg.h> in tarfn.c, implicit declaration of m_malloc
     - missing cast for %ld ohshite at info.c:98
     - unused yyunput (missing %option nounput) in trigdeferred.l
Files: 
 ac6475406e37864d19180ba28aff7c39 957 admin required dpkg_1.14.5ubuntu16.dsc
 7cc99a59d0ba043272eaf0105233e842 5840935 admin required dpkg_1.14.5ubuntu16.tar.gz
Original-Maintainer: Dpkg Developers <team@dpkg.org>
diff -pruN 1.14.5ubuntu15/debian/changelog 1.14.5ubuntu16/debian/changelog
--- 1.14.5ubuntu15/debian/changelog	2007-09-20 18:12:26.000000000 +0100
+++ 1.14.5ubuntu16/debian/changelog	2007-09-21 19:14:07.000000000 +0100
@@ -1,3 +1,12 @@
+dpkg (1.14.5ubuntu16) gutsy; urgency=low
+
+  * Fix some portability problems revealed by compiler warnings:
+    - missing <dpkg.h> in tarfn.c, implicit declaration of m_malloc
+    - missing cast for %ld ohshite at info.c:98
+    - unused yyunput (missing %option nounput) in trigdeferred.l
+
+ -- Ian Jackson <iwj@ubuntu.com>  Fri, 21 Sep 2007 19:03:36 +0100
+
 dpkg (1.14.5ubuntu15) gutsy; urgency=low
 
   * Bugfixes to fd cleanup handling:
diff -pruN 1.14.5ubuntu15/dpkg-deb/info.c 1.14.5ubuntu16/dpkg-deb/info.c
--- 1.14.5ubuntu15/dpkg-deb/info.c	2007-07-04 15:26:33.000000000 +0100
+++ 1.14.5ubuntu16/dpkg-deb/info.c	2007-09-21 18:58:14.000000000 +0100
@@ -95,7 +95,7 @@ static void info_spew(const char *debar,
     pathlen = strlen(directory) + strlen(component) + 2;
     controlfile = (void *) realloc((void *) controlfile, pathlen);
     if (!controlfile)
-      ohshite(_("realloc failed (%ld bytes)"), pathlen);
+      ohshite(_("realloc failed (%lu bytes)"), (unsigned long)pathlen);
     memset(controlfile, 0, sizeof(controlfile));
 
     strcat(controlfile, directory);
diff -pruN 1.14.5ubuntu15/lib/tarfn.c 1.14.5ubuntu16/lib/tarfn.c
--- 1.14.5ubuntu15/lib/tarfn.c	2007-09-20 18:06:29.000000000 +0100
+++ 1.14.5ubuntu16/lib/tarfn.c	2007-09-21 18:54:31.000000000 +0100
@@ -14,6 +14,7 @@
 #include <grp.h>
 #include <errno.h>
 #include <tarfn.h>
+#include <dpkg.h>
 
 struct TarHeader {
   char Name[100];
diff -pruN 1.14.5ubuntu15/lib/trigdeferred.l 1.14.5ubuntu16/lib/trigdeferred.l
--- 1.14.5ubuntu15/lib/trigdeferred.l	2007-09-20 15:18:27.000000000 +0100
+++ 1.14.5ubuntu16/lib/trigdeferred.l	2007-09-21 18:58:31.000000000 +0100
@@ -24,6 +24,7 @@
 %option prefix="trigdef_yy"
 %option outfile="trigdeferred.c"
 %option noyywrap
+%option nounput
 %option batch
 %option nodefault
 %option perf-report

Reply to: