summaryrefslogtreecommitdiff
authorzecke <zecke>2003-12-20 13:06:29 (UTC)
committer zecke <zecke>2003-12-20 13:06:29 (UTC)
commitd9ffcee06ec97f4a9e00ff0a9071d7a58e5075a1 (patch) (unidiff)
tree1d808cf09131926e6ab6a00e75d9b92182c49365
parentafabf4e4cb1211dd17e0ba0ff77133335d4735b9 (diff)
downloadopie-d9ffcee06ec97f4a9e00ff0a9071d7a58e5075a1.zip
opie-d9ffcee06ec97f4a9e00ff0a9071d7a58e5075a1.tar.gz
opie-d9ffcee06ec97f4a9e00ff0a9071d7a58e5075a1.tar.bz2
Do not use LD_BIND_NOW for now.
I hope ljp gets some numbers for that soon...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/applauncher.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/launcher/applauncher.cpp b/core/launcher/applauncher.cpp
index 0ac043b..0db99dd 100644
--- a/core/launcher/applauncher.cpp
+++ b/core/launcher/applauncher.cpp
@@ -656,7 +656,14 @@ void AppLauncher::createQuickLauncher()
656 ::close( fd ); 656 ::close( fd );
657 ::setpgid( ::getpid(), ::getppid() ); 657 ::setpgid( ::getpid(), ::getppid() );
658 // Try bindir first, so that foo/bar works too 658 // Try bindir first, so that foo/bar works too
659 setenv( "LD_BIND_NOW", "1", 1 ); 659 /*
660 * LD_BIND_NOW will change the behaviour of ld.so and dlopen
661 * RTLD_LAZY will be made RTLD_NOW which leads to problem
662 * with miscompiled libraries... if LD_BIND_NOW is set.. there
663 * is no way back.. We will wait for numbers from TT to see
664 * if using LD_BIND_NOW is worth it - zecke
665 */
666 //setenv( "LD_BIND_NOW", "1", 1 );
660 ::execv( QPEApplication::qpeDir()+"bin/quicklauncher", args ); 667 ::execv( QPEApplication::qpeDir()+"bin/quicklauncher", args );
661 ::execvp( "quicklauncher", args ); 668 ::execvp( "quicklauncher", args );
662 delete []args; 669 delete []args;