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
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- 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
/* ######################################################################
Init - Initialize the package library
// See the makefile
#define APT_PKG_MAJOR 3
#define APT_PKG_MINOR 1
// 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;
extern const char *pkgVersion;
extern const char *pkgLibVersion;
LIBRARY=apt-pkg
LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
MAJOR=3.1
LIBRARY=apt-pkg
LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
MAJOR=3.1
SLIBS=$(PTHREADLIB)
# Source code for the contributed non-core things
SLIBS=$(PTHREADLIB)
# Source code for the contributed non-core things
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
// -*- 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
/* ######################################################################
APT Extract Templates - Program to extract debconf config and template
{
char fn[512];
static int i;
{
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 = "";
FileFd f;
if (data == NULL)
data = "";