commit d820cc1d688847c523fb2b80227d0c0444d0c37c
parent ea70d649baceea8f8cf459eb9fd941f806ec5ba9
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Nov 2006 04:24:16 +0000
fx
Diffstat:
8 files changed, 54 insertions(+), 49 deletions(-)
diff --git a/po/de.po b/po/de.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.14\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2006-05-20 20:02+0200\n"
"Last-Translator: Karl Eichwalder <ke@suse.de>\n"
"Language-Team: German <translation-team-de@lists.sourceforge.net>\n"
@@ -118,12 +118,12 @@ msgstr "extract [OPTIONEN] [DATEINAME]*"
msgid "Extract metadata from files."
msgstr "Metadaten aus den Dateien extrahieren."
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr "%s - (binär)\n"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr "UNGÜLTIGE ART - %s\n"
@@ -684,19 +684,19 @@ msgstr "Abhängigkeit"
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "Initialisierung des Plugin-Mechanismus' ist fehlgeschlagen: %s.\n"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
"failed also. Errors are: `%s' and `%s'.\n"
msgstr ""
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "Laden des »%s«-Plugins ist fehlgeschlagen: %s\n"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Entladen des »%s«-Plugins ist fehlgeschlagen!\n"
diff --git a/po/ga.po b/po/ga.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.14\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2006-05-22 20:46-0700\n"
"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
"Language-Team: Irish <gaeilge-gnulinux@lists.sourceforge.net>\n"
@@ -114,12 +114,12 @@ msgstr "extract [ROGHANNA] [COMHADAINM]*"
msgid "Extract metadata from files."
msgstr "Bain meiteashonra as comhaid."
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr "%s - (dnrtha)\n"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr "CINEL NEAMHBHAIL - %s\n"
@@ -678,7 +678,7 @@ msgstr "sple
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "Theip ar ths meicnocht na mbreisen: %s!\n"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
@@ -688,12 +688,12 @@ msgstr ""
"bhain m triail as `%s', ach theip ar an cheann sin freisin. Na hearrid: `"
"%s' agus `%s'.\n"
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "Theip ar lucht an bhreisein `%s': %s\n"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Theip ar dhlucht an bhreisein `%s'!\n"
diff --git a/po/libextractor.pot b/po/libextractor.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -104,12 +104,12 @@ msgstr ""
msgid "Extract metadata from files."
msgstr ""
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr ""
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr ""
@@ -659,19 +659,19 @@ msgstr ""
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr ""
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
"failed also. Errors are: `%s' and `%s'.\n"
msgstr ""
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr ""
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr ""
diff --git a/po/ro.po b/po/ro.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.3\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2005-08-16 12:00-0500\n"
"Last-Translator: Laurentiu Buzdugan <lbuz@rolix.org>\n"
"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
@@ -122,12 +122,12 @@ msgstr "extract [OP
msgid "Extract metadata from files."
msgstr "Extrage metadata din fiiere."
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr "%s - (binar)\n"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr "TIP INVALID - %s\n"
@@ -700,7 +700,7 @@ msgstr "dependin
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "iniializare mecanismului de plugin a euat: %s!\n"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, fuzzy, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
@@ -709,12 +709,12 @@ msgstr ""
"Rezolvarea simbolului '%s' n biblioteca '%s' a euat, aa c am ncercat '%"
"s', dar i acesta a euat. Erorile sunt: '%s' i '%s'.\n"
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, fuzzy, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "ncrcarea plugin-ului '%s' a euat: %s\n"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, fuzzy, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Descrcarea plugin-ului '%s' a euat!\n"
diff --git a/po/rw.po b/po/rw.po
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.4.2\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2005-04-04 10:55-0700\n"
"Last-Translator: Steven Michael Murphy <murf@e-tools.com>\n"
"Language-Team: Kinyarwanda <translation-team-rw@lists.sourceforge.net>\n"
@@ -130,12 +130,12 @@ msgstr ""
msgid "Extract metadata from files."
msgstr "Bivuye Idosiye"
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, fuzzy, c-format
msgid "%s - (binary)\n"
msgstr "%s-(Nyabibiri"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr ""
@@ -856,19 +856,19 @@ msgstr ""
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "Bya Byanze"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, fuzzy, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
"failed also. Errors are: `%s' and `%s'.\n"
msgstr "IKIMENYETSO in Isomero Byanze Byanze Na"
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, fuzzy, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "Byanze"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, fuzzy, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Byanze"
diff --git a/po/sv.po b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.14\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2006-05-23 22:17+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
@@ -110,12 +110,12 @@ msgstr "extract [FLAGGOR] [FILNAMN]*"
msgid "Extract metadata from files."
msgstr "Plocka ut metadata från filer."
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr "%s - (binär)\n"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr "OGILTIG TYP - %s\n"
@@ -679,7 +679,7 @@ msgstr "beroende av"
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "Initiering av insticksmekanism misslyckades: %s!\n"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
@@ -688,12 +688,12 @@ msgstr ""
"Uppslag av symbol \"%s\" i bibliotek \"%s\" misslyckades så jag försökte med "
"\"%s\" men det misslyckades också. Felen är: \"%s\" och \"%s\".\n"
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "Inläsning av instick \"%s\" misslyckades: %s\n"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Urläsning av instick \"%s\" misslyckades!\n"
diff --git a/po/vi.po b/po/vi.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libextractor 0.5.14\n"
"Report-Msgid-Bugs-To: libextractor@gnu.org\n"
-"POT-Creation-Date: 2006-11-11 16:18-0700\n"
+"POT-Creation-Date: 2006-11-11 21:57-0700\n"
"PO-Revision-Date: 2006-05-23 17:58+0930\n"
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
@@ -118,12 +118,12 @@ msgstr ""
msgid "Extract metadata from files."
msgstr "Rút siêu dữ liệu ra tập tin."
-#: src/main/extract.c:198 src/main/extractor.c:1410
+#: src/main/extract.c:198 src/main/extractor.c:1415
#, c-format
msgid "%s - (binary)\n"
msgstr "%s - (nhị phân)\n"
-#: src/main/extract.c:204 src/main/extractor.c:1415
+#: src/main/extract.c:204 src/main/extractor.c:1420
#, c-format
msgid "INVALID TYPE - %s\n"
msgstr "KIỂU KHÔNG HỢP LỆ — %s\n"
@@ -687,7 +687,7 @@ msgstr "phụ thuộc"
msgid "Initialization of plugin mechanism failed: %s!\n"
msgstr "Việc khởi động cơ chế cầm phít bị lỗi: %s\n"
-#: src/main/extractor.c:662
+#: src/main/extractor.c:667
#, c-format
msgid ""
"Resolving symbol `%s' in library `%s' failed, so I tried `%s', but that "
@@ -696,12 +696,12 @@ msgstr ""
"Việc tháo gỡ ký hiệu « %s » trong thư viện « %s » bị lỗi, thì đã cố « %s », "
"nhưng mà nó cũng không thành công. Gặp lỗi « %s » và « %s ».\n"
-#: src/main/extractor.c:691
+#: src/main/extractor.c:696
#, c-format
msgid "Loading `%s' plugin failed: %s\n"
msgstr "Việc tải bổ sung « %s » bị lỗi: %s\n"
-#: src/main/extractor.c:896
+#: src/main/extractor.c:901
#, c-format
msgid "Unloading plugin `%s' failed!\n"
msgstr "Việc bỏ tải bổ sung « %s » bị lỗi.\n"
diff --git a/src/main/extractor.c b/src/main/extractor.c
@@ -520,13 +520,18 @@ void __attribute__ ((constructor)) le_ltdl_init() {
old_dlsearchpath = strdup(opath);
path = os_get_installation_path();
if (path != NULL) {
- cpath = malloc(strlen(path) + strlen(opath) + 4);
- strcpy(cpath, opath);
- strcat(cpath, ":");
- strcat(cpath, path);
- lt_dlsetsearchpath(cpath);
- free(path);
- free(cpath);
+ if (opath != NULL) {
+ cpath = malloc(strlen(path) + strlen(opath) + 4);
+ strcpy(cpath, opath);
+ strcat(cpath, ":");
+ strcat(cpath, path);
+ lt_dlsetsearchpath(cpath);
+ free(path);
+ free(cpath);
+ } else {
+ lt_dlsetsearchpath(path);
+ free(path);
+ }
}
#ifdef MINGW
InitWinEnv();