[Pkg-voip-commits] r3820 - in wengophone/trunk/debian: . patches patches/generic
cavedon-guest at alioth.debian.org
cavedon-guest at alioth.debian.org
Tue Jul 24 12:06:49 UTC 2007
Author: cavedon-guest
Date: 2007-07-24 12:06:49 +0000 (Tue, 24 Jul 2007)
New Revision: 3820
Modified:
wengophone/trunk/debian/changelog
wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch
wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch
wengophone/trunk/debian/patches/series
Log:
Updated memory-dump-tmp-path patch to create core dumps in
WENGOPHONE_COREDUMP_DIR or /tmp
Modified: wengophone/trunk/debian/changelog
===================================================================
--- wengophone/trunk/debian/changelog 2007-07-24 09:53:48 UTC (rev 3819)
+++ wengophone/trunk/debian/changelog 2007-07-24 12:06:49 UTC (rev 3820)
@@ -8,7 +8,8 @@
[ Ludovico Cavedon ]
* Added patches:
- + generic/memory-dump-tmp-path.patch to create core dumps in /tmp
+ + generic/memory-dump-tmp-path.patch to create core dumps in
+ WENGOPHONE_COREDUMP_DIR or /tmp
+ generic/memory-dump-fix-double-dump.patch to avoid creation of two
core dumps
* Created wengophone-dbg package with debug symbols.
@@ -16,7 +17,7 @@
* Added patch generic/exosip-fix-empty-notify.patch from Mikael Magnusson.
(Closes #427930)
- -- Ludovico Cavedon <cavedon at sssup.it> Tue, 24 Jul 2007 11:50:55 +0200
+ -- Ludovico Cavedon <cavedon at sssup.it> Tue, 24 Jul 2007 14:04:01 +0200
wengophone (2.1.1.dfsg0-1) unstable; urgency=low
Modified: wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch
===================================================================
--- wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch 2007-07-24 09:53:48 UTC (rev 3819)
+++ wengophone/trunk/debian/patches/generic/memory-dump-fix-double-dump.patch 2007-07-24 12:06:49 UTC (rev 3820)
@@ -1,7 +1,7 @@
Index: wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp
===================================================================
---- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-23 15:06:26.000000000 +0200
-+++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-23 15:06:46.000000000 +0200
+--- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-24 11:59:11.000000000 +0200
++++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-24 12:00:02.000000000 +0200
@@ -25,12 +25,13 @@
#include <util/Path.h>
Modified: wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch
===================================================================
--- wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch 2007-07-24 09:53:48 UTC (rev 3819)
+++ wengophone/trunk/debian/patches/generic/memory-dump-tmp-path.patch 2007-07-24 12:06:49 UTC (rev 3820)
@@ -1,13 +1,17 @@
Index: wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp
===================================================================
---- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-23 15:04:39.000000000 +0200
-+++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-23 15:05:35.000000000 +0200
-@@ -46,7 +46,7 @@
+--- wengophone-2.1.1.dfsg0.orig/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-24 12:00:02.000000000 +0200
++++ wengophone-2.1.1.dfsg0/libs/owutil/memorydump/src/unix/UNIXMemoryDump.cpp 2007-07-24 12:03:53.000000000 +0200
+@@ -47,7 +47,11 @@
memoryDumpName += getCurrentDateTime();
memoryDumpName += ".core";
- std::string memoryDumpFile(Path::getApplicationDirPath());
-+ std::string memoryDumpFile("/tmp/");
++ const char * coreDir = getenv("WENGOPHONE_COREDUMP_DIR");
++ if(!coreDir)
++ coreDir = "/tmp";
++ std::string memoryDumpFile(coreDir);
++ memoryDumpFile += "/";
memoryDumpFile += memoryDumpName;
WriteCoreDump(memoryDumpFile.c_str());
Modified: wengophone/trunk/debian/patches/series
===================================================================
--- wengophone/trunk/debian/patches/series 2007-07-24 09:53:48 UTC (rev 3819)
+++ wengophone/trunk/debian/patches/series 2007-07-24 12:06:49 UTC (rev 3820)
@@ -3,8 +3,8 @@
generic/cmake-fix-ENABLE_CRASHREPORT.patch
generic/cmake-static-coredumper.patch
generic/exosip-fix-empty-notify.patch
+generic/memory-dump-fix-double-dump.patch
generic/memory-dump-tmp-path.patch
-generic/memory-dump-fix-double-dump.patch
generic/portaudio-avoid-unnecessary-inclusion.patch
generic/desktop-file-update.patch
debian/remove-extra-copying-file.patch
More information about the Pkg-voip-commits
mailing list