...
 
Commits (2)
log4cpp (1.1.1-3~bpo8+2) jessie-backports; urgency=medium
* Build for jessie-backports without v5 suffix.
-- A. Maitland Bottoms <bottoms@debian.org> Fri, 02 Jun 2017 22:32:02 -0400
log4cpp (1.1.1-3~bpo8+1) jessie-backports; urgency=medium
* Build for jessie-backports.
-- Daniel Pocock <daniel@pocock.pro> Thu, 22 Sep 2016 19:29:21 +0200
log4cpp (1.1.1-3) unstable; urgency=medium
* Use right sized buffer on sparc64. Thanks james! (Closes: #835927)
......
......@@ -12,7 +12,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/log4cpp.git/
Package: liblog4cpp5-dev
Section: libdevel
Architecture: any
Depends: liblog4cpp5v5 (= ${binary:Version}), ${misc:Depends}
Depends: liblog4cpp5 (= ${binary:Version}), ${misc:Depends}
Conflicts: liblog4cpp-dev, liblog4cpp1-dev, liblog4cpp3-dev, liblog4cpp4-dev
Replaces: liblog4cpp-dev, liblog4cpp1-dev, liblog4cpp3-dev, liblog4cpp4-dev
Description: C++ library for flexible logging (development)
......@@ -23,11 +23,11 @@ Description: C++ library for flexible logging (development)
.
This package contains the log4cpp development files.
Package: liblog4cpp5v5
Package: liblog4cpp5
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Conflicts: liblog4cpp1c102, liblog4cpp3, liblog4cpp4, liblog4cpp5
Replaces: liblog4cpp0, liblog4cpp1c102, liblog4cpp3, liblog4cpp4, liblog4cpp5
Conflicts: liblog4cpp1c102, liblog4cpp3, liblog4cpp4, liblog4cpp5v5
Replaces: liblog4cpp0, liblog4cpp1c102, liblog4cpp3, liblog4cpp4, liblog4cpp5v5
Description: C++ library for flexible logging (runtime)
Log for C++ is a library of C++ classes for flexible logging to files,
syslog and other destinations. It is modeled after the Log for
......
......@@ -13,13 +13,15 @@ use snprintf rather than the abomination that is sprintf...), but it
seems nicer to let asprintf allocate the right size. The attached
patch switched to asprintf.
---
src/PThreads.cpp | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
--- a/src/PThreads.cpp
+++ b/src/PThreads.cpp
@@ -6,9 +6,14 @@
--- a/src/PThreads.cpp 2016-09-22 20:14:11.113210644 +0200
+++ b/src/PThreads.cpp 2016-09-22 20:10:17.606413234 +0200
@@ -1,4 +1,5 @@
#include <log4cpp/threading/Threading.hh>
+#include <stdlib.h>
#if defined(LOG4CPP_HAVE_THREADING) && defined(LOG4CPP_USE_PTHREADS)
@@ -6,9 +7,14 @@
namespace threading {
std::string getThreadId() {
......@@ -32,7 +34,7 @@ patch switched to asprintf.
+ throw std::bad_alloc();
+ }
+ std::string str(buffer);
+ free(buffer);
+ ::free(buffer);
+ return str;
}
......