CString -> RString

This commit is contained in:
Chris Danford
2006-01-22 01:00:06 +00:00
parent 870ed267fc
commit 7f821e8cfc
578 changed files with 3943 additions and 3946 deletions
@@ -186,7 +186,7 @@ bool child_read( int fd, void *p, int size )
}
/* Once we get here, we should be * safe to do whatever we want;
* heavyweights like malloc and CString are OK. (Don't crash!) */
* heavyweights like malloc and RString are OK. (Don't crash!) */
static void child_process()
{
/* 1. Read the CrashData. */
@@ -232,7 +232,7 @@ static void child_process()
if( !child_read(3, temp, size) )
return;
vector<CString> Checkpoints;
vector<RString> Checkpoints;
split(temp, "$$", Checkpoints);
delete [] temp;
@@ -242,7 +242,7 @@ static void child_process()
temp = new char [size];
if( !child_read(3, temp, size) )
return;
const CString CrashedThread(temp);
const RString CrashedThread(temp);
delete[] temp;
/* Wait for the child to either finish cleaning up or die. XXX:
@@ -263,7 +263,7 @@ static void child_process()
}
const char *home = getenv( "HOME" );
CString sCrashInfoPath = "/tmp";
RString sCrashInfoPath = "/tmp";
if( home )
sCrashInfoPath = home;
sCrashInfoPath += "/crashinfo.txt";
@@ -283,12 +283,12 @@ static void child_process()
fprintf( CrashDump, "--------------------------------------\n" );
fprintf( CrashDump, "\n" );
CString reason;
RString reason;
switch( crash.type )
{
case CrashData::SIGNAL:
{
CString Signal = SignalName( crash.signal );
RString Signal = SignalName( crash.signal );
#if !defined(MACOSX)
reason = ssprintf( "%s - %s", Signal.c_str(), SignalCodeName(crash.signal, crash.si.si_code) );