extractor.c (libextractor-1.10) | : | extractor.c (libextractor-1.11) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
General Public License for more details. | General Public License for more details. | |||
You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License | |||
along with libextractor; see the file COPYING. If not, write to the | along with libextractor; see the file COPYING. If not, write to the | |||
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |||
Boston, MA 02110-1301, USA. | Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#include "platform.h" | #include "platform.h" | |||
#include "plibc.h" | ||||
#include "extractor.h" | #include "extractor.h" | |||
#include <dirent.h> | #include <dirent.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <signal.h> | #include <signal.h> | |||
#include <ltdl.h> | #include <ltdl.h> | |||
#include "extractor_datasource.h" | #include "extractor_datasource.h" | |||
#include "extractor_ipc.h" | #include "extractor_ipc.h" | |||
#include "extractor_logging.h" | #include "extractor_logging.h" | |||
#include "extractor_plugpath.h" | #include "extractor_plugpath.h" | |||
#include "extractor_plugins.h" | #include "extractor_plugins.h" | |||
skipping to change at line 659 | skipping to change at line 658 | |||
/** | /** | |||
* Initialize gettext and libltdl (and W32 if needed). | * Initialize gettext and libltdl (and W32 if needed). | |||
*/ | */ | |||
void __attribute__ ((constructor)) | void __attribute__ ((constructor)) | |||
EXTRACTOR_ltdl_init () | EXTRACTOR_ltdl_init () | |||
{ | { | |||
int err; | int err; | |||
#if ENABLE_NLS | #if ENABLE_NLS | |||
BINDTEXTDOMAIN (PACKAGE, LOCALEDIR); | bindtextdomain (PACKAGE, LOCALEDIR); | |||
#endif | #endif | |||
err = lt_dlinit (); | err = lt_dlinit (); | |||
if (err > 0) | if (err > 0) | |||
{ | { | |||
#if DEBUG | #if DEBUG | |||
fprintf (stderr, | fprintf (stderr, | |||
_ ("Initialization of plugin mechanism failed: %s!\n"), | _ ("Initialization of plugin mechanism failed: %s!\n"), | |||
lt_dlerror ()); | lt_dlerror ()); | |||
#endif | #endif | |||
return; | return; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added |