mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
guile: fix crash on ARM when loading guile plugin (bug #36479)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.8-rc1, 2012-05-15
|
||||
v0.3.8-rc1, 2012-05-16
|
||||
|
||||
|
||||
Version 0.3.8 (under dev!)
|
||||
@@ -32,6 +32,7 @@ Version 0.3.8 (under dev!)
|
||||
* api: add list "gui_buffer_last_displayed" in hdata "buffer"
|
||||
* scripts: fix type of argument "rc" in callback of hook_process (from string to
|
||||
integer)
|
||||
* guile: fix crash on ARM when loading guile plugin (bug #36479)
|
||||
* guile: add missing function "hook_process_hashtable" in API
|
||||
* irc: update channel modes by using chanmodes from message 005 (do not send
|
||||
extra command "MODES" to server), fix parsing of modes (bug #36215)
|
||||
|
||||
@@ -5245,19 +5245,15 @@ void
|
||||
weechat_guile_api_module_init (void *data)
|
||||
{
|
||||
scm_t_bits port_type;
|
||||
scm_t_port *pt;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
/* Setting up the xchat output window as our default output ports */
|
||||
port_type = scm_make_port_type ("weechat_stdout",
|
||||
&weechat_guile_port_fill_input,
|
||||
&weechat_guile_port_write);
|
||||
guile_port = scm_new_port_table_entry (port_type);
|
||||
SCM_SET_CELL_TYPE (guile_port, port_type | SCM_OPN | SCM_WRTNG);
|
||||
pt = SCM_PTAB_ENTRY (guile_port);
|
||||
pt->rw_random = 0;
|
||||
scm_set_current_output_port (guile_port);
|
||||
scm_set_current_error_port (guile_port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user