summaryrefslogtreecommitdiffstats
path: root/tdecore/klibloader.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 22:21:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 22:21:31 -0600
commit06227c5420ce8eeef7bd44406a395188c61e1703 (patch)
treec18c25b31413479e63fec92f61067b95759fc3b0 /tdecore/klibloader.cpp
parentce5d3d7fd554b9832a69350cffa8d79c5002753e (diff)
parent70d7c59d2ac9ad3718f92a20c07937d3b6cfb928 (diff)
downloadtdelibs-06227c5420ce8eeef7bd44406a395188c61e1703.tar.gz
tdelibs-06227c5420ce8eeef7bd44406a395188c61e1703.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
Diffstat (limited to 'tdecore/klibloader.cpp')
-rw-r--r--tdecore/klibloader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdecore/klibloader.cpp b/tdecore/klibloader.cpp
index 4577dc7a6..f1e65d0f7 100644
--- a/tdecore/klibloader.cpp
+++ b/tdecore/klibloader.cpp
@@ -306,9 +306,9 @@ KLibLoader::KLibLoader( TQObject* parent, const char* name )
d = new KLibLoaderPrivate;
lt_dlinit();
d->unload_mode = KLibLoaderPrivate::UNKNOWN;
- if (getenv("KDE_NOUNLOAD") != 0)
+ if (getenv("TDE_NOUNLOAD") != 0)
d->unload_mode = KLibLoaderPrivate::DONT_UNLOAD;
- else if (getenv("KDE_DOUNLOAD") != 0)
+ else if (getenv("TDE_DOUNLOAD") != 0)
d->unload_mode = KLibLoaderPrivate::UNLOAD;
d->loaded_stack.setAutoDelete( true );
}
@@ -525,7 +525,7 @@ void KLibLoader::close_pending(KLibWrapPrivate *wrap)
bool deleted_one = false;
while ((wrap = d->loaded_stack.first())) {
/* Let's first see, if we want to try to unload this lib.
- If the env. var KDE_DOUNLOAD is set, we try to unload every lib.
+ If the env. var TDE_DOUNLOAD is set, we try to unload every lib.
If not, we look at the lib itself, and unload it only, if it exports
the symbol __kde_do_unload. */
if (d->unload_mode != KLibLoaderPrivate::UNLOAD