cpw.caseyho.crashreporter: 05227977: Name cleanup. Rename cpp file to cc. R...

caseyho at pidgin.im caseyho at pidgin.im
Fri Feb 13 19:35:40 EST 2009


-----------------------------------------------------------------
Revision: 05227977db445a29b536652aed5517789744d245
Ancestor: 184c726cfb2c3f9d284ac9e15c547fd59d0741be
Author: caseyho at pidgin.im
Date: 2009-02-12T23:54:07
Branch: im.pidgin.cpw.caseyho.crashreporter
URL: http://d.pidgin.im/viewmtn/revision/info/05227977db445a29b536652aed5517789744d245

Renamed entries:
        pidgin/crash/crashhandler.cpp to pidgin/crash/crashhandler.cc
Modified files:
        pidgin/Makefile.am pidgin/crash/Makefile.am
        pidgin/crash/crashhandler.cc

ChangeLog: 

Name cleanup.  Rename cpp file to cc.  Rename crash reporter app to make it clear it's Pidgin specific

-------------- next part --------------
============================================================
--- pidgin/Makefile.am	4904b6f11dcf9f2975878fa365518d0d5591f335
+++ pidgin/Makefile.am	5cb14017c39a55341f6ded803adc208eb5195675
@@ -68,7 +68,7 @@ pkgconfig_DATA = pidgin.pc
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = pidgin.pc
 
-SUBDIRS = pixmaps plugins 
+SUBDIRS = pixmaps plugins crash
 
 bin_PROGRAMS = pidgin
 
@@ -130,7 +130,7 @@ pidgin_SOURCES += \
 
 if ENABLE_CRASHREPORTER
 pidgin_SOURCES += \
-	crash/crashhandler.cpp
+	crash/crashhandler.cc
 endif
 
 pidgin_headers = \
============================================================
--- pidgin/crash/Makefile.am	c4baddb17905e4c48ab37e92d971a503a8bed9e6
+++ pidgin/crash/Makefile.am	7be270d7520975baa617b88bfab1a1b2b5114550
@@ -1,12 +1,12 @@ if ENABLE_CRASHREPORTER
 if ENABLE_CRASHREPORTER
 
-bin_PROGRAMS = crashreporter
+bin_PROGRAMS = pidgincrashreporter
 
-crashreporter_SOURCES = \
+pidgincrashreporter_SOURCES = \
 	crashreporter.c \
 	minidump_stackwalk.cc
 
-crashreporter_LDADD = $(top_srcdir)/thirdparty/google-breakpad/src/libbreakpad.la
+pidgincrashreporter_LDADD = $(top_srcdir)/thirdparty/google-breakpad/src/libbreakpad.la
 
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/thirdparty/google-breakpad/src
============================================================
--- pidgin/crash/crashhandler.cpp	a3d3acb62c8110773c0d6c59e2f44050f038994e
+++ pidgin/crash/crashhandler.cc	f48b839a44cb7cf0910b714665431b18f81e5e2b
@@ -37,14 +37,13 @@ static bool MinidumpCallback(
 {
 
 	printf("%s is dumped\n", minidump_id);
-/*
+
 	char *crash_argv[2];
-	crash_argv[0] = "crashreporter";
+	crash_argv[0] = "pidgincrashreporter";
 	// Casting like this is bad.  But at the same time, the heap
 	// is in a fubar'ed state here so allocating a copy is a really bad idea.
 	crash_argv[1] = (char *)minidump_id;
 	g_spawn_async(NULL, crash_argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, NULL, NULL);
-*/
 	return true;
 }
 


More information about the Commits mailing list