From e15521d96b21cb0c771cce7cbe2ceb38f27c8844 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 7 Mar 2012 17:22:58 -0600 Subject: Add source code module name to stdout/stderr messages to improve readability. --- kio/kio/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kio') diff --git a/kio/kio/lex.c b/kio/kio/lex.c index 4b8cb21f7..99848a2f3 100644 --- a/kio/kio/lex.c +++ b/kio/kio/lex.c @@ -1584,7 +1584,7 @@ static void yy_fatal_error( msg ) char msg[]; #endif { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "[lex] %s\n", msg ); exit( YY_EXIT_FAILURE ); } -- cgit v1.2.1 From 691a81483430c4b7b4433d45381e8d32b6d56909 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 7 Mar 2012 17:33:18 -0600 Subject: Rename straggling environment variables KDE->TDE. --- kio/kio/slave.cpp | 4 ++-- kio/kio/slavebase.cpp | 2 +- kio/tests/kurifiltertest.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kio') diff --git a/kio/kio/slave.cpp b/kio/kio/slave.cpp index 4826c8da8..3a501d681 100644 --- a/kio/kio/slave.cpp +++ b/kio/kio/slave.cpp @@ -390,8 +390,8 @@ Slave* Slave::createSlave( const TQString &protocol, const KURL& url, int& error // for the slave to connect to the application. // In such case we start the slave via KProcess. // It's possible to force this by setting the env. variable - // KDE_FORK_SLAVES, Clearcase seems to require this. - static bool bForkSlaves = !TQCString(getenv("KDE_FORK_SLAVES")).isEmpty(); + // TDE_FORK_SLAVES, Clearcase seems to require this. + static bool bForkSlaves = !TQCString(getenv("TDE_FORK_SLAVES")).isEmpty(); if (bForkSlaves || !client->isAttached() || client->isAttachedToForeignServer()) { diff --git a/kio/kio/slavebase.cpp b/kio/kio/slavebase.cpp index 6641f6e23..c237bd490 100644 --- a/kio/kio/slavebase.cpp +++ b/kio/kio/slavebase.cpp @@ -168,7 +168,7 @@ SlaveBase::SlaveBase( const TQCString &protocol, { s_protocol = protocol.data(); #ifdef Q_OS_UNIX - if (!getenv("KDE_DEBUG")) + if (!getenv("TDE_DEBUG")) { KCrash::setCrashHandler( sigsegv_handler ); signal(SIGILL,&sigsegv_handler); diff --git a/kio/tests/kurifiltertest.cpp b/kio/tests/kurifiltertest.cpp index c448cca90..a1ebf2e46 100644 --- a/kio/tests/kurifiltertest.cpp +++ b/kio/tests/kurifiltertest.cpp @@ -156,7 +156,7 @@ int main(int argc, char **argv) // Ensure that user configuration doesn't change the results of those tests // TDEHOME needs to be writable though, for a ksycoca database setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-kurifiltertest" ), true ); - setenv( "KDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup + setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup KAboutData aboutData(appName, programName, version, description); KCmdLineArgs::init(argc, argv, &aboutData); -- cgit v1.2.1