Commit f58e1770bef4b7be58e01f943b20f6c2ad6789a3
1 parent
b0f14ba3
Exists in
master
and in
5 other branches
Corrigindo debug de plugins no linux
Showing
3 changed files
with
13 additions
and
4 deletions
Show diff stats
po/pt_BR.po
@@ -5,7 +5,7 @@ msgid "" | @@ -5,7 +5,7 @@ msgid "" | ||
5 | msgstr "" | 5 | msgstr "" |
6 | "Project-Id-Version: pw3270 5.0\n" | 6 | "Project-Id-Version: pw3270 5.0\n" |
7 | "Report-Msgid-Bugs-To: \n" | 7 | "Report-Msgid-Bugs-To: \n" |
8 | -"POT-Creation-Date: 2013-02-27 07:14-0300\n" | 8 | +"POT-Creation-Date: 2013-02-28 07:17-0300\n" |
9 | "PO-Revision-Date: 2013-02-25 14:46-0300\n" | 9 | "PO-Revision-Date: 2013-02-25 14:46-0300\n" |
10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
11 | "Language-Team: Português <>\n" | 11 | "Language-Team: Português <>\n" |
src/plugins/remotectl/calls.c
@@ -219,7 +219,7 @@ | @@ -219,7 +219,7 @@ | ||
219 | if(!(host_connect && hSession && uri)) | 219 | if(!(host_connect && hSession && uri)) |
220 | return EINVAL; | 220 | return EINVAL; |
221 | 221 | ||
222 | - return host_connect(hSession,uri,1); | 222 | + return host_connect(hSession,uri,0); |
223 | } | 223 | } |
224 | 224 | ||
225 | __declspec (dllexport) DWORD __stdcall hllapi_disconnect(void) | 225 | __declspec (dllexport) DWORD __stdcall hllapi_disconnect(void) |
src/pw3270/plugin.c
@@ -145,9 +145,18 @@ | @@ -145,9 +145,18 @@ | ||
145 | if(!g_file_test(path,G_FILE_TEST_IS_DIR)) | 145 | if(!g_file_test(path,G_FILE_TEST_IS_DIR)) |
146 | { | 146 | { |
147 | g_free(path); | 147 | g_free(path); |
148 | - path = pw3270_build_filename(widget,"plugins",NULL); | 148 | + |
149 | + path = g_build_filename(dir,".bin","Debug","plugins",NULL); | ||
150 | + trace("%s testing [%s]",__FUNCTION__,path); | ||
151 | + | ||
152 | + if(!g_file_test(path,G_FILE_TEST_IS_DIR)) | ||
153 | + { | ||
154 | + g_free(path); | ||
155 | + path = pw3270_build_filename(widget,"plugins",NULL); | ||
156 | + trace("%s using [%s]",__FUNCTION__,path); | ||
157 | + } | ||
149 | } | 158 | } |
150 | - | 159 | + |
151 | load(path,widget); | 160 | load(path,widget); |
152 | 161 | ||
153 | g_free(path); | 162 | g_free(path); |