author | mickeyl <mickeyl> | 2003-11-09 01:29:48 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-09 01:29:48 (UTC) |
commit | fe2686a823f0dc41828ed75b759f34f117453e49 (patch) (side-by-side diff) | |
tree | bf3eb1ee22b12c84d36eb53d4f4f2dcb0eac64a4 /quickexec/johns/so_stub.c | |
parent | 28d03a7d43f449949991a91cab63580ef6220725 (diff) | |
download | opie-fe2686a823f0dc41828ed75b759f34f117453e49.zip opie-fe2686a823f0dc41828ed75b759f34f117453e49.tar.gz opie-fe2686a823f0dc41828ed75b759f34f117453e49.tar.bz2 |
get rid of some obsolete zombies.
-rw-r--r-- | quickexec/johns/so_stub.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/quickexec/johns/so_stub.c b/quickexec/johns/so_stub.c deleted file mode 100644 index fe71f9c..0000000 --- a/quickexec/johns/so_stub.c +++ b/dev/null @@ -1,23 +0,0 @@ -#include <stdio.h> -#include <string.h> -#include <dlfcn.h> - - -int main( int argc, char *argv[] ) { - char module[1024]; - int (*loadedMain)( int argc, char *argv[] ); - char *error; - int retVal = 0; - void *handle; - strcpy( module, argv[0] ); - strcat( module, ".so" ); - if ( !(handle = dlopen( module, RTLD_LAZY ) ) ) - fputs( dlerror(), stderr ), exit( 1 ); - loadedMain = dlsym( handle, "main" ); - if ( ( error = dlerror() ) != NULL ) - fputs( error, stderr ), exit( 1 ); - retVal = (*loadedMain)( argc, argv ); - dlclose( handle ); - return retVal; -} - |