libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit eb5153c6b99a84c5e35dd642ea1fd31ae2715d6f
parent b2b94f363ddbdef319f0e47959e39ef17cc1fde8
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  2 Feb 2009 15:46:02 +0000

fixing 1394

Diffstat:
Msrc/main/extractor.c | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -1,6 +1,6 @@ /* This file is part of libextractor. - (C) 2002, 2003, 2004, 2005, 2006 Vidyut Samanta and Christian Grothoff + (C) 2002, 2003, 2004, 2005, 2006, 2009 Vidyut Samanta and Christian Grothoff libextractor is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published @@ -790,20 +790,14 @@ loadLibrary (const char *name, void **libHandle, ExtractMethod * method) { -#if 0 lt_dladvise advise; -#endif LTDL_MUTEX_LOCK -#if 0 lt_dladvise_init(&advise); lt_dladvise_ext(&advise); lt_dladvise_local(&advise); - *libHandle = lt_dlopenadvise (name, &advise); + *libHandle = lt_dlopenadvise (name, advise); lt_dladvise_destroy(&advise); -#else - *libHandle = lt_dlopenext (name); -#endif if (*libHandle == NULL) { #if DEBUG