]> git.saurik.com Git - apt.git/commitdiff
bump the soname up one (to 3.1.2)
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:56:55 +0000 (16:56 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:56:55 +0000 (16:56 +0000)
Author: tausq
Date: 2001-03-03 23:02:39 GMT
bump the soname up one (to 3.1.2)
fixed a bug in apt-extracttemplates where it might not form the
directory name properly

apt-pkg/init.h
apt-pkg/makefile
cmdline/apt-extracttemplates.cc

index 7f8aab3be68554606c36955937abaae5c280b5fb..d6beb0532954cec6b317e6849becd87b0c302ca7 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: init.h,v 1.5 2001/02/23 06:47:05 jgg Exp $
+// $Id: init.h,v 1.6 2001/03/03 23:02:39 tausq Exp $
 /* ######################################################################
 
    Init - Initialize the package library
@@ -19,7 +19,7 @@
 // See the makefile
 #define APT_PKG_MAJOR 3
 #define APT_PKG_MINOR 1
-#define APT_PKG_RELEASE 1
+#define APT_PKG_RELEASE 2
 
 extern const char *pkgVersion;
 extern const char *pkgLibVersion;
index 979a99bb65b28fa0e20ef0685f79ab1edf1fa4a6..f69da389236953d172827502548500e7e68fbca6 100644 (file)
@@ -13,7 +13,7 @@ include ../buildlib/defaults.mak
 LIBRARY=apt-pkg
 LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
 MAJOR=3.1
-MINOR=1
+MINOR=2
 SLIBS=$(PTHREADLIB)
 
 # Source code for the contributed non-core things
index 3fd572e4f71a1a386f1dd20725f1ae5b109f1847..60ec3c3fd3476bdcc0ae99bceadc3ef5095713f2 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: apt-extracttemplates.cc,v 1.5 2001/03/03 22:45:59 tausq Exp $
+// $Id: apt-extracttemplates.cc,v 1.6 2001/03/03 23:02:39 tausq Exp $
 /* ######################################################################
    
    APT Extract Templates - Program to extract debconf config and template
@@ -246,7 +246,7 @@ string WriteFile(const char *prefix, const char *data)
 {
        char fn[512];
        static int i;
-       snprintf(fn, sizeof(fn), "%s%s.%u%d", _config->Find("APT::ExtractTemplates::TempDir", TMPDIR).c_str(), prefix, getpid(), i++);
+       snprintf(fn, sizeof(fn), "%s/%s.%u%d", _config->Find("APT::ExtractTemplates::TempDir", TMPDIR).c_str(), prefix, getpid(), i++);
        FileFd f;
        if (data == NULL)
                data = "";