Commit 8fd957e87353a61395cc44c7e0de223a1c069b81

Authored by Perry Werneck
1 parent 7a049962
Exists in master and in 2 other branches develop, macos

Fixing issues detected on linux test after macos changes (#25)

Showing 2 changed files with 234 additions and 228 deletions   Show diff stats
@@ -9,10 +9,14 @@ cd "$srcdir" @@ -9,10 +9,14 @@ cd "$srcdir"
9 mkdir -p scripts 9 mkdir -p scripts
10 mkdir -p m4 10 mkdir -p m4
11 11
12 -LIBTOOLIZE=$(which libtoollize) 12 +LIBTOOLIZE=$(which libtoolize)
13 if [ -z ${LIBTOOLIZE} ]; then 13 if [ -z ${LIBTOOLIZE} ]; then
14 LIBTOOLIZE=$(which glibtoolize) 14 LIBTOOLIZE=$(which glibtoolize)
15 fi 15 fi
  16 +if [ -z ${LIBTOOLIZE} ]; then
  17 + echo "Can't find libtoolize"
  18 + exit -1
  19 +fi
16 20
17 ${LIBTOOLIZE} --force 21 ${LIBTOOLIZE} --force
18 if test $? != 0 ; then 22 if test $? != 0 ; then
win/lib3270.def
@@ -121,230 +121,232 @@ EXPORTS @@ -121,230 +121,232 @@ EXPORTS
121 lib3270_get_option_list @120 121 lib3270_get_option_list @120
122 lib3270_get_oversize @121 122 lib3270_get_oversize @121
123 lib3270_get_pointer @122 123 lib3270_get_pointer @122
124 - lib3270_get_program_message @123  
125 - lib3270_get_region @124  
126 - lib3270_get_revision @125  
127 - lib3270_get_screen_size @126  
128 - lib3270_get_selected @127  
129 - lib3270_get_selected_text @128  
130 - lib3270_get_selection @129  
131 - lib3270_get_selection_bounds @130  
132 - lib3270_get_selection_flags @131  
133 - lib3270_get_selection_rectangle @132  
134 - lib3270_get_session_callbacks @133  
135 - lib3270_get_session_id @134  
136 - lib3270_get_ssl_crl_text @135  
137 - lib3270_get_ssl_peer_certificate_text @136  
138 - lib3270_get_ssl_state @137  
139 - lib3270_get_ssl_state_description @138  
140 - lib3270_get_ssl_state_icon_name @139  
141 - lib3270_get_ssl_state_message @140  
142 - lib3270_get_string_at @141  
143 - lib3270_get_string_at_address @142  
144 - lib3270_get_string_properties_list @143  
145 - lib3270_get_task_count @144  
146 - lib3270_get_toggle @145  
147 - lib3270_get_toggle_description @146  
148 - lib3270_get_toggle_id @147  
149 - lib3270_get_toggle_label @148  
150 - lib3270_get_toggle_list @149  
151 - lib3270_get_toggle_name @150  
152 - lib3270_get_toggle_summary @151  
153 - lib3270_get_toggles @152  
154 - lib3270_get_trace_filename @153  
155 - lib3270_get_trace_handler @154  
156 - lib3270_get_translation_domain @155  
157 - lib3270_get_typeahead @156  
158 - lib3270_get_undera @157  
159 - lib3270_get_unlock_delay @158  
160 - lib3270_get_unsigned_properties_list @159  
161 - lib3270_get_url @160  
162 - lib3270_get_user_data @161  
163 - lib3270_get_version @162  
164 - lib3270_get_version_info @163  
165 - lib3270_get_width @164  
166 - lib3270_get_word_bounds @165  
167 - lib3270_getpeername @166  
168 - lib3270_getsockname @167  
169 - lib3270_half_connected @168  
170 - lib3270_has_active_script @169  
171 - lib3270_has_selection @170  
172 - lib3270_host_get_name @171  
173 - lib3270_iconv_free @172  
174 - lib3270_iconv_from_host @173  
175 - lib3270_iconv_new @174  
176 - lib3270_iconv_to_host @175  
177 - lib3270_in_3270 @176  
178 - lib3270_in_ansi @177  
179 - lib3270_in_e @178  
180 - lib3270_in_neither @179  
181 - lib3270_in_sscp @180  
182 - lib3270_in_tn3270e @181  
183 - lib3270_input_string @182  
184 - lib3270_is_as400 @183  
185 - lib3270_is_connected @184  
186 - lib3270_is_disconnected @185  
187 - lib3270_is_formatted @186  
188 - lib3270_is_protected @187  
189 - lib3270_is_ready @188  
190 - lib3270_is_secure @189  
191 - lib3270_is_selected @190  
192 - lib3270_is_tso @191  
193 - lib3270_is_unlocked @192  
194 - lib3270_kybdreset @193  
195 - lib3270_load @194  
196 - lib3270_main_iterate @195  
197 - lib3270_malloc @196  
198 - lib3270_move_cursor @197  
199 - lib3270_move_selected_area @198  
200 - lib3270_move_selection @199  
201 - lib3270_newline @200  
202 - lib3270_nextfield @201  
203 - lib3270_nextword @202  
204 - lib3270_pakey @203  
205 - lib3270_parse_host_type @204  
206 - lib3270_paste_next @205  
207 - lib3270_paste_text @206  
208 - lib3270_pconnected @207  
209 - lib3270_pfkey @208  
210 - lib3270_popup @209  
211 - lib3270_popup_an_errno @210  
212 - lib3270_popup_clone_printf @211  
213 - lib3270_popup_dialog @212  
214 - lib3270_popup_va @213  
215 - lib3270_previousfield @214  
216 - lib3270_previousword @215  
217 - lib3270_print @216  
218 - lib3270_print_all @217  
219 - lib3270_print_copy @218  
220 - lib3270_print_selected @219  
221 - lib3270_property_get_by_name @220  
222 - lib3270_property_get_description @221  
223 - lib3270_property_get_label @222  
224 - lib3270_property_get_name @223  
225 - lib3270_property_get_summary @224  
226 - lib3270_property_get_tooltip @225  
227 - lib3270_realloc @226  
228 - lib3270_receive @227  
229 - lib3270_reconnect @228  
230 - lib3270_register_action_group_listener @229  
231 - lib3270_register_fd_handlers @230  
232 - lib3270_register_io_controller @231  
233 - lib3270_register_schange @232  
234 - lib3270_register_timer_handlers @233  
235 - lib3270_register_toggle_listener @234  
236 - lib3270_remap_char @235  
237 - lib3270_remove_poll @236  
238 - lib3270_remove_poll_fd @237  
239 - lib3270_reselect @238  
240 - lib3270_reset_callbacks @239  
241 - lib3270_reset_charset @240  
242 - lib3270_reset_ft_callbacks @241  
243 - lib3270_ring_bell @242  
244 - lib3270_run_task @243  
245 - lib3270_save @244  
246 - lib3270_save_all @245  
247 - lib3270_save_copy @246  
248 - lib3270_save_selected @247  
249 - lib3270_select_all @248  
250 - lib3270_select_field @249  
251 - lib3270_select_field_at @250  
252 - lib3270_select_region @251  
253 - lib3270_select_to @252  
254 - lib3270_select_word @253  
255 - lib3270_select_word_at @254  
256 - lib3270_selection_get_length @255  
257 - lib3270_selection_new @256  
258 - lib3270_send @257  
259 - lib3270_service_get_name @258  
260 - lib3270_session_free @259  
261 - lib3270_session_new @260  
262 - lib3270_set_as400 @261  
263 - lib3270_set_auto_reconnect @262  
264 - lib3270_set_boolean_property @263  
265 - lib3270_set_color_type @264  
266 - lib3270_set_connected_initial @265  
267 - lib3270_set_cursor_address @266  
268 - lib3270_set_cursor_position @267  
269 - lib3270_set_dft_buffersize @268  
270 - lib3270_set_disconnected @269  
271 - lib3270_set_field @270  
272 - lib3270_set_has_copy @271  
273 - lib3270_set_host_charset @272  
274 - lib3270_set_host_type @273  
275 - lib3270_set_host_type_by_name @274  
276 - lib3270_set_int_property @275  
277 - lib3270_set_lock_on_operator_error @276  
278 - lib3270_set_log_filename @277  
279 - lib3270_set_log_handler @278  
280 - lib3270_set_lunames @279  
281 - lib3270_set_model @280  
282 - lib3270_set_model_name @281  
283 - lib3270_set_model_number @282  
284 - lib3270_set_numeric_lock @283  
285 - lib3270_set_oversize @284  
286 - lib3270_set_poll_state @285  
287 - lib3270_set_popup_handler @286  
288 - lib3270_set_session_id @287  
289 - lib3270_set_string @288  
290 - lib3270_set_string_at @289  
291 - lib3270_set_string_at_address @290  
292 - lib3270_set_string_property @291  
293 - lib3270_set_syslog @292  
294 - lib3270_set_toggle @293  
295 - lib3270_set_trace_filename @294  
296 - lib3270_set_trace_handler @295  
297 - lib3270_set_tso @296  
298 - lib3270_set_uint_property @297  
299 - lib3270_set_unlock_delay @298  
300 - lib3270_set_url @299  
301 - lib3270_set_user_data @300  
302 - lib3270_setup_session @301  
303 - lib3270_ssl_get_crl_download @302  
304 - lib3270_ssl_set_crl_download @303  
305 - lib3270_state_get_name @304  
306 - lib3270_strdup @305  
307 - lib3270_strdup_printf @306  
308 - lib3270_strip @307  
309 - lib3270_sysreq @308  
310 - lib3270_testpattern @309  
311 - lib3270_toggle @310  
312 - lib3270_toggle_get_by_name @311  
313 - lib3270_toggle_get_description @312  
314 - lib3270_toggle_get_from_id @313  
315 - lib3270_toggle_get_label @314  
316 - lib3270_toggle_get_name @315  
317 - lib3270_toggle_get_summary @316  
318 - lib3270_trace_data @317  
319 - lib3270_trace_event @318  
320 - lib3270_translate_char @319  
321 - lib3270_translate_ft_message @320  
322 - lib3270_translate_to_address @321  
323 - lib3270_unregister_action_group_listener @322  
324 - lib3270_unregister_schange @323  
325 - lib3270_unregister_toggle_listener @324  
326 - lib3270_unselect @325  
327 - lib3270_unsigned_property_get_by_name @326  
328 - lib3270_update_poll_fd @327  
329 - lib3270_vsprintf @328  
330 - lib3270_wait @329  
331 - lib3270_wait_for_cstate @330  
332 - lib3270_wait_for_keyboard_unlock @331  
333 - lib3270_wait_for_ready @332  
334 - lib3270_wait_for_string @333  
335 - lib3270_wait_for_string_at @334  
336 - lib3270_wait_for_string_at_address @335  
337 - lib3270_wait_for_update @336  
338 - lib3270_win32_create_regkey @337  
339 - lib3270_win32_get_dword @338  
340 - lib3270_win32_local_charset @339  
341 - lib3270_win32_strerror @340  
342 - lib3270_win32_translate_error_code @341  
343 - lib3270_write_dstrace @342  
344 - lib3270_write_event_trace @343  
345 - lib3270_write_log @344  
346 - lib3270_write_nettrace @345  
347 - lib3270_write_rc @346  
348 - lib3270_write_screen_trace @347  
349 - lib3270_write_trace @348  
350 - lib3270_write_va_log @349 124 + lib3270_get_product_name @123
  125 + lib3270_get_program_message @124
  126 + lib3270_get_region @125
  127 + lib3270_get_revision @126
  128 + lib3270_get_screen_size @127
  129 + lib3270_get_selected @128
  130 + lib3270_get_selected_text @129
  131 + lib3270_get_selection @130
  132 + lib3270_get_selection_bounds @131
  133 + lib3270_get_selection_flags @132
  134 + lib3270_get_selection_rectangle @133
  135 + lib3270_get_session_callbacks @134
  136 + lib3270_get_session_id @135
  137 + lib3270_get_ssl_crl_text @136
  138 + lib3270_get_ssl_peer_certificate_text @137
  139 + lib3270_get_ssl_state @138
  140 + lib3270_get_ssl_state_description @139
  141 + lib3270_get_ssl_state_icon_name @140
  142 + lib3270_get_ssl_state_message @141
  143 + lib3270_get_string_at @142
  144 + lib3270_get_string_at_address @143
  145 + lib3270_get_string_properties_list @144
  146 + lib3270_get_task_count @145
  147 + lib3270_get_toggle @146
  148 + lib3270_get_toggle_description @147
  149 + lib3270_get_toggle_id @148
  150 + lib3270_get_toggle_label @149
  151 + lib3270_get_toggle_list @150
  152 + lib3270_get_toggle_name @151
  153 + lib3270_get_toggle_summary @152
  154 + lib3270_get_toggles @153
  155 + lib3270_get_trace_filename @154
  156 + lib3270_get_trace_handler @155
  157 + lib3270_get_translation_domain @156
  158 + lib3270_get_typeahead @157
  159 + lib3270_get_undera @158
  160 + lib3270_get_unlock_delay @159
  161 + lib3270_get_unsigned_properties_list @160
  162 + lib3270_get_url @161
  163 + lib3270_get_user_data @162
  164 + lib3270_get_version @163
  165 + lib3270_get_version_info @164
  166 + lib3270_get_width @165
  167 + lib3270_get_word_bounds @166
  168 + lib3270_getpeername @167
  169 + lib3270_getsockname @168
  170 + lib3270_half_connected @169
  171 + lib3270_has_active_script @170
  172 + lib3270_has_selection @171
  173 + lib3270_host_get_name @172
  174 + lib3270_iconv_free @173
  175 + lib3270_iconv_from_host @174
  176 + lib3270_iconv_new @175
  177 + lib3270_iconv_to_host @176
  178 + lib3270_in_3270 @177
  179 + lib3270_in_ansi @178
  180 + lib3270_in_e @179
  181 + lib3270_in_neither @180
  182 + lib3270_in_sscp @181
  183 + lib3270_in_tn3270e @182
  184 + lib3270_input_string @183
  185 + lib3270_is_as400 @184
  186 + lib3270_is_connected @185
  187 + lib3270_is_disconnected @186
  188 + lib3270_is_formatted @187
  189 + lib3270_is_protected @188
  190 + lib3270_is_ready @189
  191 + lib3270_is_secure @190
  192 + lib3270_is_selected @191
  193 + lib3270_is_tso @192
  194 + lib3270_is_unlocked @193
  195 + lib3270_kybdreset @194
  196 + lib3270_load @195
  197 + lib3270_main_iterate @196
  198 + lib3270_malloc @197
  199 + lib3270_move_cursor @198
  200 + lib3270_move_selected_area @199
  201 + lib3270_move_selection @200
  202 + lib3270_newline @201
  203 + lib3270_nextfield @202
  204 + lib3270_nextword @203
  205 + lib3270_pakey @204
  206 + lib3270_parse_host_type @205
  207 + lib3270_paste_next @206
  208 + lib3270_paste_text @207
  209 + lib3270_pconnected @208
  210 + lib3270_pfkey @209
  211 + lib3270_popup @210
  212 + lib3270_popup_an_errno @211
  213 + lib3270_popup_clone_printf @212
  214 + lib3270_popup_dialog @213
  215 + lib3270_popup_va @214
  216 + lib3270_previousfield @215
  217 + lib3270_previousword @216
  218 + lib3270_print @217
  219 + lib3270_print_all @218
  220 + lib3270_print_copy @219
  221 + lib3270_print_selected @220
  222 + lib3270_property_get_by_name @221
  223 + lib3270_property_get_description @222
  224 + lib3270_property_get_label @223
  225 + lib3270_property_get_name @224
  226 + lib3270_property_get_summary @225
  227 + lib3270_property_get_tooltip @226
  228 + lib3270_realloc @227
  229 + lib3270_receive @228
  230 + lib3270_reconnect @229
  231 + lib3270_register_action_group_listener @230
  232 + lib3270_register_fd_handlers @231
  233 + lib3270_register_io_controller @232
  234 + lib3270_register_schange @233
  235 + lib3270_register_timer_handlers @234
  236 + lib3270_register_toggle_listener @235
  237 + lib3270_remap_char @236
  238 + lib3270_remove_poll @237
  239 + lib3270_remove_poll_fd @238
  240 + lib3270_reselect @239
  241 + lib3270_reset_callbacks @240
  242 + lib3270_reset_charset @241
  243 + lib3270_reset_ft_callbacks @242
  244 + lib3270_ring_bell @243
  245 + lib3270_run_task @244
  246 + lib3270_save @245
  247 + lib3270_save_all @246
  248 + lib3270_save_copy @247
  249 + lib3270_save_selected @248
  250 + lib3270_select_all @249
  251 + lib3270_select_field @250
  252 + lib3270_select_field_at @251
  253 + lib3270_select_region @252
  254 + lib3270_select_to @253
  255 + lib3270_select_word @254
  256 + lib3270_select_word_at @255
  257 + lib3270_selection_get_length @256
  258 + lib3270_selection_new @257
  259 + lib3270_send @258
  260 + lib3270_service_get_name @259
  261 + lib3270_session_free @260
  262 + lib3270_session_new @261
  263 + lib3270_set_as400 @262
  264 + lib3270_set_auto_reconnect @263
  265 + lib3270_set_boolean_property @264
  266 + lib3270_set_color_type @265
  267 + lib3270_set_connected_initial @266
  268 + lib3270_set_cursor_address @267
  269 + lib3270_set_cursor_position @268
  270 + lib3270_set_dft_buffersize @269
  271 + lib3270_set_disconnected @270
  272 + lib3270_set_field @271
  273 + lib3270_set_has_copy @272
  274 + lib3270_set_host_charset @273
  275 + lib3270_set_host_type @274
  276 + lib3270_set_host_type_by_name @275
  277 + lib3270_set_int_property @276
  278 + lib3270_set_lock_on_operator_error @277
  279 + lib3270_set_log_filename @278
  280 + lib3270_set_log_handler @279
  281 + lib3270_set_lunames @280
  282 + lib3270_set_model @281
  283 + lib3270_set_model_name @282
  284 + lib3270_set_model_number @283
  285 + lib3270_set_numeric_lock @284
  286 + lib3270_set_oversize @285
  287 + lib3270_set_poll_state @286
  288 + lib3270_set_popup_handler @287
  289 + lib3270_set_session_id @288
  290 + lib3270_set_string @289
  291 + lib3270_set_string_at @290
  292 + lib3270_set_string_at_address @291
  293 + lib3270_set_string_property @292
  294 + lib3270_set_syslog @293
  295 + lib3270_set_toggle @294
  296 + lib3270_set_trace_filename @295
  297 + lib3270_set_trace_handler @296
  298 + lib3270_set_tso @297
  299 + lib3270_set_uint_property @298
  300 + lib3270_set_unlock_delay @299
  301 + lib3270_set_url @300
  302 + lib3270_set_user_data @301
  303 + lib3270_setup_session @302
  304 + lib3270_ssl_get_crl_download @303
  305 + lib3270_ssl_set_crl_download @304
  306 + lib3270_state_get_name @305
  307 + lib3270_strdup @306
  308 + lib3270_strdup_printf @307
  309 + lib3270_strip @308
  310 + lib3270_sysreq @309
  311 + lib3270_testpattern @310
  312 + lib3270_toggle @311
  313 + lib3270_toggle_get_by_name @312
  314 + lib3270_toggle_get_description @313
  315 + lib3270_toggle_get_from_id @314
  316 + lib3270_toggle_get_label @315
  317 + lib3270_toggle_get_name @316
  318 + lib3270_toggle_get_summary @317
  319 + lib3270_trace_data @318
  320 + lib3270_trace_event @319
  321 + lib3270_translate_char @320
  322 + lib3270_translate_ft_message @321
  323 + lib3270_translate_to_address @322
  324 + lib3270_unregister_action_group_listener @323
  325 + lib3270_unregister_schange @324
  326 + lib3270_unregister_toggle_listener @325
  327 + lib3270_unselect @326
  328 + lib3270_unsigned_property_get_by_name @327
  329 + lib3270_update_poll_fd @328
  330 + lib3270_vsprintf @329
  331 + lib3270_wait @330
  332 + lib3270_wait_for_cstate @331
  333 + lib3270_wait_for_keyboard_unlock @332
  334 + lib3270_wait_for_ready @333
  335 + lib3270_wait_for_string @334
  336 + lib3270_wait_for_string_at @335
  337 + lib3270_wait_for_string_at_address @336
  338 + lib3270_wait_for_update @337
  339 + lib3270_win32_create_regkey @338
  340 + lib3270_win32_get_dword @339
  341 + lib3270_win32_local_charset @340
  342 + lib3270_win32_set_string @341
  343 + lib3270_win32_strerror @342
  344 + lib3270_win32_translate_error_code @343
  345 + lib3270_write_dstrace @344
  346 + lib3270_write_event_trace @345
  347 + lib3270_write_log @346
  348 + lib3270_write_nettrace @347
  349 + lib3270_write_rc @348
  350 + lib3270_write_screen_trace @349
  351 + lib3270_write_trace @350
  352 + lib3270_write_va_log @351