summaryrefslogtreecommitdiffstats
path: root/scilab/modules/dynamic_link
diff options
context:
space:
mode:
authorPierre MARECHAL <pierre.marechal@scilab.org>2010-04-20 09:49:01 +0200
committerPierre MARECHAL <pierre.marechal@scilab.org>2010-04-20 09:49:01 +0200
commit0049e685a51f74e422eac722040db782f87fc823 (patch)
tree00ed05ea2b592854f9702a896cfaecc580343252 /scilab/modules/dynamic_link
parentd238528635fedd4de6f41cf693bd7d9e910a9cb7 (diff)
parent04fde5001a1a891a6621019334e389bce798e07a (diff)
downloadscilab-0049e685a51f74e422eac722040db782f87fc823.zip
scilab-0049e685a51f74e422eac722040db782f87fc823.tar.gz
Merge commit 'origin/5.2'
Conflicts: scilab/modules/matio/sci_gateway/c/sci_matfile_varreadnext.c Change-Id: I2baffdab5b8100dde645c111804d9453ed018906
Diffstat (limited to 'scilab/modules/dynamic_link')
-rw-r--r--scilab/modules/dynamic_link/locales/ca_ES/dynamic_link.po8
-rw-r--r--scilab/modules/dynamic_link/locales/de_DE/dynamic_link.po8
-rw-r--r--scilab/modules/dynamic_link/locales/es_ES/dynamic_link.po8
-rw-r--r--scilab/modules/dynamic_link/locales/fr_FR/dynamic_link.po8
-rw-r--r--scilab/modules/dynamic_link/locales/it_IT/dynamic_link.po8
-rw-r--r--scilab/modules/dynamic_link/locales/ja_JP/dynamic_link.po2
-rw-r--r--scilab/modules/dynamic_link/locales/pt_BR/dynamic_link.po2
-rw-r--r--scilab/modules/dynamic_link/locales/ru_RU/dynamic_link.po6
-rw-r--r--scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po13
-rw-r--r--scilab/modules/dynamic_link/locales/zh_CN/dynamic_link.po2
-rw-r--r--scilab/modules/dynamic_link/locales/zh_TW/dynamic_link.po2
-rw-r--r--scilab/modules/dynamic_link/macros/ilib_gen_gateway.sci15
-rw-r--r--scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.dia.ref30
-rw-r--r--scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.tst38
14 files changed, 109 insertions, 41 deletions
diff --git a/scilab/modules/dynamic_link/locales/ca_ES/dynamic_link.po b/scilab/modules/dynamic_link/locales/ca_ES/dynamic_link.po
index 5fe2850..8bffad0 100644
--- a/scilab/modules/dynamic_link/locales/ca_ES/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/ca_ES/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2009-10-22 15:56+0000\n" 11"PO-Revision-Date: 2010-04-10 18:51+0000\n"
12"Last-Translator: oriolsbd <oriolsbd@yahoo.es>\n" 12"Last-Translator: oriolsbd <oriolsbd@yahoo.es>\n"
13"Language-Team: Catalan <ca@li.org>\n" 13"Language-Team: Catalan <ca@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
@@ -135,7 +135,7 @@ msgstr "%s: Ja s'ha carregat de la llibreria %s\n"
135 135
136#, c-format 136#, c-format
137msgid "%s: An error occurred during the compilation:\n" 137msgid "%s: An error occurred during the compilation:\n"
138msgstr "" 138msgstr "%s: S'ha produït un error en la compilació:\n"
139 139
140#, c-format 140#, c-format
141msgid "%s: An error occurred: %s\n" 141msgid "%s: An error occurred: %s\n"
@@ -157,7 +157,7 @@ msgstr ""
157 157
158#, c-format 158#, c-format
159msgid "%s: Error while modifying the reference Makefile:\n" 159msgid "%s: Error while modifying the reference Makefile:\n"
160msgstr "" 160msgstr "%s: S'ha produït un error en modificar la referència del Makefile:\n"
161 161
162#, c-format 162#, c-format
163msgid "%s: Feature not available under Microsoft Windows.\n" 163msgid "%s: Feature not available under Microsoft Windows.\n"
diff --git a/scilab/modules/dynamic_link/locales/de_DE/dynamic_link.po b/scilab/modules/dynamic_link/locales/de_DE/dynamic_link.po
index d8e0f90..403b9d1 100644
--- a/scilab/modules/dynamic_link/locales/de_DE/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/de_DE/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2009-10-23 08:59+0000\n" 11"PO-Revision-Date: 2010-02-22 07:59+0000\n"
12"Last-Translator: Keruskerfuerst <armin_mohring@web.de>\n" 12"Last-Translator: Keruskerfuerst <armin_mohring@web.de>\n"
13"Language-Team: German <de@li.org>\n" 13"Language-Team: German <de@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
@@ -133,7 +133,7 @@ msgstr "%s: bereits aus der Bibliothek %s geladen\n"
133 133
134#, c-format 134#, c-format
135msgid "%s: An error occurred during the compilation:\n" 135msgid "%s: An error occurred during the compilation:\n"
136msgstr "" 136msgstr "%s: ein Fehler ist bei der Kompilation aufgetreten:\n"
137 137
138#, c-format 138#, c-format
139msgid "%s: An error occurred: %s\n" 139msgid "%s: An error occurred: %s\n"
@@ -154,7 +154,7 @@ msgstr ""
154 154
155#, c-format 155#, c-format
156msgid "%s: Error while modifying the reference Makefile:\n" 156msgid "%s: Error while modifying the reference Makefile:\n"
157msgstr "" 157msgstr "%s: Fehler beim Modifizieren des Referenz Makefiles:\n"
158 158
159#, c-format 159#, c-format
160msgid "%s: Feature not available under Microsoft Windows.\n" 160msgid "%s: Feature not available under Microsoft Windows.\n"
diff --git a/scilab/modules/dynamic_link/locales/es_ES/dynamic_link.po b/scilab/modules/dynamic_link/locales/es_ES/dynamic_link.po
index ac9e753..d1a59f0 100644
--- a/scilab/modules/dynamic_link/locales/es_ES/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/es_ES/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2009-10-23 03:34+0000\n" 11"PO-Revision-Date: 2010-02-15 21:35+0000\n"
12"Last-Translator: Federico Vera <Unknown>\n" 12"Last-Translator: Federico Vera <Unknown>\n"
13"Language-Team: Spanish <es@li.org>\n" 13"Language-Team: Spanish <es@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
@@ -134,7 +134,7 @@ msgstr "%s: Ya fue cargada desde la biblioteca %s\n"
134 134
135#, c-format 135#, c-format
136msgid "%s: An error occurred during the compilation:\n" 136msgid "%s: An error occurred during the compilation:\n"
137msgstr "" 137msgstr "%s: Ocurrió un error durante la compilación:\n"
138 138
139#, c-format 139#, c-format
140msgid "%s: An error occurred: %s\n" 140msgid "%s: An error occurred: %s\n"
@@ -156,7 +156,7 @@ msgstr ""
156 156
157#, c-format 157#, c-format
158msgid "%s: Error while modifying the reference Makefile:\n" 158msgid "%s: Error while modifying the reference Makefile:\n"
159msgstr "" 159msgstr "%s: Error al modificar la referencia 'Makefile':\n"
160 160
161#, c-format 161#, c-format
162msgid "%s: Feature not available under Microsoft Windows.\n" 162msgid "%s: Feature not available under Microsoft Windows.\n"
diff --git a/scilab/modules/dynamic_link/locales/fr_FR/dynamic_link.po b/scilab/modules/dynamic_link/locales/fr_FR/dynamic_link.po
index 2770ead..79d5ecc 100644
--- a/scilab/modules/dynamic_link/locales/fr_FR/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/fr_FR/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2009-12-15 15:20+0000\n" 11"PO-Revision-Date: 2010-02-16 13:37+0000\n"
12"Last-Translator: Allan CORNET <Unknown>\n" 12"Last-Translator: Allan CORNET <Unknown>\n"
13"Language-Team: French <fr@li.org>\n" 13"Language-Team: French <fr@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
@@ -135,7 +135,7 @@ msgstr "%s : Déjà chargé à partir de la bibliothèque %s\n"
135 135
136#, c-format 136#, c-format
137msgid "%s: An error occurred during the compilation:\n" 137msgid "%s: An error occurred during the compilation:\n"
138msgstr "" 138msgstr "%s: Une erreur a été detectée lors de la compilation\n"
139 139
140#, c-format 140#, c-format
141msgid "%s: An error occurred: %s\n" 141msgid "%s: An error occurred: %s\n"
@@ -157,7 +157,7 @@ msgstr ""
157 157
158#, c-format 158#, c-format
159msgid "%s: Error while modifying the reference Makefile:\n" 159msgid "%s: Error while modifying the reference Makefile:\n"
160msgstr "" 160msgstr "%s: Erreur lors de la modification du Makefile reference:\n"
161 161
162#, c-format 162#, c-format
163msgid "%s: Feature not available under Microsoft Windows.\n" 163msgid "%s: Feature not available under Microsoft Windows.\n"
diff --git a/scilab/modules/dynamic_link/locales/it_IT/dynamic_link.po b/scilab/modules/dynamic_link/locales/it_IT/dynamic_link.po
index d2d7a35..990dba3 100644
--- a/scilab/modules/dynamic_link/locales/it_IT/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/it_IT/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2009-12-16 13:02+0000\n" 11"PO-Revision-Date: 2010-02-16 11:42+0000\n"
12"Last-Translator: Carml <mighty.carml@gmail.com>\n" 12"Last-Translator: Carml <mighty.carml@gmail.com>\n"
13"Language-Team: Italian <it@li.org>\n" 13"Language-Team: Italian <it@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
@@ -134,7 +134,7 @@ msgstr "%s: È già caricato dalla libreria %s\n"
134 134
135#, c-format 135#, c-format
136msgid "%s: An error occurred during the compilation:\n" 136msgid "%s: An error occurred during the compilation:\n"
137msgstr "" 137msgstr "%s: Si è verificato un errore durante la compilazione:\n"
138 138
139#, c-format 139#, c-format
140msgid "%s: An error occurred: %s\n" 140msgid "%s: An error occurred: %s\n"
@@ -156,7 +156,7 @@ msgstr ""
156 156
157#, c-format 157#, c-format
158msgid "%s: Error while modifying the reference Makefile:\n" 158msgid "%s: Error while modifying the reference Makefile:\n"
159msgstr "" 159msgstr "%s: Errore durante la modifica del Makefile di riferimento:\n"
160 160
161#, c-format 161#, c-format
162msgid "%s: Feature not available under Microsoft Windows.\n" 162msgid "%s: Feature not available under Microsoft Windows.\n"
diff --git a/scilab/modules/dynamic_link/locales/ja_JP/dynamic_link.po b/scilab/modules/dynamic_link/locales/ja_JP/dynamic_link.po
index f34e2aa..79a9f35 100644
--- a/scilab/modules/dynamic_link/locales/ja_JP/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/ja_JP/dynamic_link.po
@@ -14,7 +14,7 @@ msgstr ""
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19"X-Poedit-Country: Japan\n" 19"X-Poedit-Country: Japan\n"
20"X-Poedit-Language: Japanese\n" 20"X-Poedit-Language: Japanese\n"
diff --git a/scilab/modules/dynamic_link/locales/pt_BR/dynamic_link.po b/scilab/modules/dynamic_link/locales/pt_BR/dynamic_link.po
index d7f8385..c777806 100644
--- a/scilab/modules/dynamic_link/locales/pt_BR/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/pt_BR/dynamic_link.po
@@ -14,7 +14,7 @@ msgstr ""
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
diff --git a/scilab/modules/dynamic_link/locales/ru_RU/dynamic_link.po b/scilab/modules/dynamic_link/locales/ru_RU/dynamic_link.po
index d0dec91..ef9344c 100644
--- a/scilab/modules/dynamic_link/locales/ru_RU/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/ru_RU/dynamic_link.po
@@ -8,13 +8,13 @@ msgstr ""
8"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
11"PO-Revision-Date: 2010-02-12 19:57+0000\n" 11"PO-Revision-Date: 2010-02-21 16:02+0000\n"
12"Last-Translator: Nkolay Parukhin <parukhin@gmail.com>\n" 12"Last-Translator: kkirill <Unknown>\n"
13"Language-Team: Russian <ru@li.org>\n" 13"Language-Team: Russian <ru@li.org>\n"
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
diff --git a/scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po b/scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po
index de8d72b..f324125 100644
--- a/scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/uk_UA/dynamic_link.po
@@ -2,20 +2,19 @@
2# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010 2# Copyright (c) 2010 Rosetta Contributors and Canonical Ltd 2010
3# This file is distributed under the same license as the scilab package. 3# This file is distributed under the same license as the scilab package.
4# 4#
5# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. 5# Yuri Chornoivan <yurchor@gmail.com>, 2010.
6# Yuri Chornoivan <yurchor@ukr.net>, 2010.
7msgid "" 6msgid ""
8msgstr "" 7msgstr ""
9"Project-Id-Version: scilab\n" 8"Project-Id-Version: scilab\n"
10"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" 9"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
11"POT-Creation-Date: 2007-11-26 18:05+0100\n" 10"POT-Creation-Date: 2007-11-26 18:05+0100\n"
12"PO-Revision-Date: 2010-01-12 11:09+0000\n" 11"PO-Revision-Date: 2010-02-12 16:01+0000\n"
13"Last-Translator: yurchor <yurchor@gmail.com>\n" 12"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
14"Language-Team: Ukrainian <translation@linux.org.ua>\n" 13"Language-Team: Ukrainian <translation@linux.org.ua>\n"
15"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
16"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
18"X-Launchpad-Export-Date: 2010-01-21 15:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
19"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
20 19
21#, c-format 20#, c-format
@@ -137,7 +136,7 @@ msgid "%s: Already loaded from library %s\n"
137msgstr "%s: вже завантажено з бібліотеки %s\n" 136msgstr "%s: вже завантажено з бібліотеки %s\n"
138 137
139#, c-format 138#, c-format
140msgid "%s: An error occured during the compilation:\n" 139msgid "%s: An error occurred during the compilation:\n"
141msgstr "%s: під час спроби збирання сталася помилка:\n" 140msgstr "%s: під час спроби збирання сталася помилка:\n"
142 141
143#, c-format 142#, c-format
@@ -159,7 +158,7 @@ msgstr ""
159"кількість записів %d.\n" 158"кількість записів %d.\n"
160 159
161#, c-format 160#, c-format
162msgid "%s: Error while modifing the reference Makefile:\n" 161msgid "%s: Error while modifying the reference Makefile:\n"
163msgstr "%s: помилка під час спроби змінити еталонний Makefile:\n" 162msgstr "%s: помилка під час спроби змінити еталонний Makefile:\n"
164 163
165#, c-format 164#, c-format
diff --git a/scilab/modules/dynamic_link/locales/zh_CN/dynamic_link.po b/scilab/modules/dynamic_link/locales/zh_CN/dynamic_link.po
index 6a7302e..d3b04fe 100644
--- a/scilab/modules/dynamic_link/locales/zh_CN/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/zh_CN/dynamic_link.po
@@ -14,7 +14,7 @@ msgstr ""
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=UTF-8\n" 15"Content-Type: text/plain; charset=UTF-8\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 17"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
18"X-Generator: Launchpad (build Unknown)\n" 18"X-Generator: Launchpad (build Unknown)\n"
19 19
20#, c-format 20#, c-format
diff --git a/scilab/modules/dynamic_link/locales/zh_TW/dynamic_link.po b/scilab/modules/dynamic_link/locales/zh_TW/dynamic_link.po
index f3551c7..e93eaf6 100644
--- a/scilab/modules/dynamic_link/locales/zh_TW/dynamic_link.po
+++ b/scilab/modules/dynamic_link/locales/zh_TW/dynamic_link.po
@@ -9,7 +9,7 @@ msgstr ""
9"MIME-Version: 1.0\n" 9"MIME-Version: 1.0\n"
10"Content-Type: text/plain; charset=UTF-8\n" 10"Content-Type: text/plain; charset=UTF-8\n"
11"Content-Transfer-Encoding: 8bit\n" 11"Content-Transfer-Encoding: 8bit\n"
12"X-Launchpad-Export-Date: 2010-02-15 09:52+0000\n" 12"X-Launchpad-Export-Date: 2010-04-16 07:53+0000\n"
13"X-Generator: Launchpad (build Unknown)\n" 13"X-Generator: Launchpad (build Unknown)\n"
14"Revision-Date: 2008-06-13 13:33+0100\n" 14"Revision-Date: 2008-06-13 13:33+0100\n"
15 15
diff --git a/scilab/modules/dynamic_link/macros/ilib_gen_gateway.sci b/scilab/modules/dynamic_link/macros/ilib_gen_gateway.sci
index 08a50a3..60d808c 100644
--- a/scilab/modules/dynamic_link/macros/ilib_gen_gateway.sci
+++ b/scilab/modules/dynamic_link/macros/ilib_gen_gateway.sci
@@ -86,20 +86,21 @@ function gateway_filename = ilib_gen_gateway(name,tables)
86 ' return 0;'; 86 ' return 0;';
87 '}']; 87 '}'];
88 88
89 gateway_filename = path + tname + '.c'; 89 gateway_filename = path + tname + '.c';
90 // first chek if we already have a gateway 90 // first check if we have already a gateway
91 [fd,ierr] = mopen(gateway_filename); 91 [fd, ierr] = mopen(gateway_filename, 'rt');
92 if ierr == 0 then 92 if ierr == 0 then
93 // file already exists
94 t1 = mgetl(fd);
93 mclose(fd); 95 mclose(fd);
94 t1 = mgetl(gateway_filename); 96 if or(t1 <> t) then
95 if t1 <> t then 97 mputl(t, gateway_filename);
96 mputl(t, gateway_filename);
97 end 98 end
98 else 99 else
99 // file does not exist we create it 100 // file does not exist we create it
100 mputl(t, gateway_filename) ; 101 mputl(t, gateway_filename) ;
101 end 102 end
102 103
103 if ilib_verbose() > 1 then 104 if ilib_verbose() > 1 then
104 disp(t); 105 disp(t);
105 end 106 end
diff --git a/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.dia.ref b/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.dia.ref
new file mode 100644
index 0000000..5ca81b8
--- /dev/null
+++ b/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.dia.ref
@@ -0,0 +1,30 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Allan CORNET
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7// <-- JVM NOT MANDATORY -->
8// <-- Non-regression test for bug 6902 -->
9//
10// <-- Bugzilla URL -->
11// http://bugzilla.scilab.org/show_bug.cgi?id=6902
12// <-- Short Description -->
13// ilib_gen_gateway did not regenerate gateway when we need.
14cd(TMPDIR);
15name = 'gw_example1';
16table = ['sci_func1', 'func1'];
17WITHOUT_AUTO_PUTLHSVAR = %t;
18n1 = ilib_gen_gateway(name,table);
19r1 = fileinfo(n1);
20WITHOUT_AUTO_PUTLHSVAR = %f;
21n2 = ilib_gen_gateway(name,table);
22r2 = fileinfo(n2);
23// there is a modification then gateway must be modified
24if ~or(r1 <> r2) then bugmes();quit;end
25WITHOUT_AUTO_PUTLHSVAR = %f;
26n3 = ilib_gen_gateway(name,table);
27r3 = fileinfo(n3);
28// there is no modification
29if ~and(r2 == r3) then bugmes();quit;end
30// =============================================================================
diff --git a/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.tst b/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.tst
new file mode 100644
index 0000000..d805a03
--- /dev/null
+++ b/scilab/modules/dynamic_link/tests/nonreg_tests/bug_6902.tst
@@ -0,0 +1,38 @@
1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2010 - DIGITEO - Allan CORNET
4//
5// This file is distributed under the same license as the Scilab package.
6// =============================================================================
7
8// <-- JVM NOT MANDATORY -->
9
10// <-- Non-regression test for bug 6902 -->
11//
12// <-- Bugzilla URL -->
13// http://bugzilla.scilab.org/show_bug.cgi?id=6902
14// <-- Short Description -->
15// ilib_gen_gateway did not regenerate gateway when we need.
16
17cd(TMPDIR);
18
19name = 'gw_example1';
20table = ['sci_func1', 'func1'];
21
22WITHOUT_AUTO_PUTLHSVAR = %t;
23n1 = ilib_gen_gateway(name,table);
24r1 = fileinfo(n1);
25
26WITHOUT_AUTO_PUTLHSVAR = %f;
27n2 = ilib_gen_gateway(name,table);
28r2 = fileinfo(n2);
29
30// there is a modification then gateway must be modified
31if ~or(r1 <> r2) then pause,end
32
33WITHOUT_AUTO_PUTLHSVAR = %f;
34n3 = ilib_gen_gateway(name,table);
35r3 = fileinfo(n3);
36// there is no modification
37if ~and(r2 == r3) then pause,end
38// =============================================================================