diff --git a/ChangeLog b/ChangeLog index 01d28b2fb..6e95e6749 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-03-21 +ChangeLog - 2005-03-24 Version 0.1.2 (under dev!): + * fixed crash with 64-bits arch (like AMD64) when converting UTF-8 * added missing IRC commands (307) Version 0.1.1 (2005-03-20): diff --git a/src/common/weechat.c b/src/common/weechat.c index 54e004316..dc8139089 100644 --- a/src/common/weechat.c +++ b/src/common/weechat.c @@ -116,7 +116,7 @@ weechat_convert_encoding (char *from_code, char *to_code, char *string) #ifdef HAVE_ICONV iconv_t cd; char *inbuf, *ptr_inbuf, *ptr_outbuf; - int inbytesleft, outbytesleft; + size_t inbytesleft, outbytesleft; if (from_code && from_code[0] && to_code && to_code[0] && (strcasecmp(from_code, to_code) != 0)) @@ -573,6 +573,9 @@ weechat_welcome_message () cfg_look_startup_version) gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX1, "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n"); + + wee_log_printf ("%s (%s %s %s)\n", + PACKAGE_STRING, _("compiled on"), __DATE__, __TIME__); } /* @@ -761,8 +764,8 @@ main (int argc, char *argv[]) } gui_init (); /* init WeeChat interface */ - plugin_init (); /* init plugin interface(s) */ weechat_welcome_message (); /* display WeeChat welcome message */ + plugin_init (); /* init plugin interface(s) */ /* auto-connect to servers */ server_auto_connect (server_cmd_line); fifo_create (); /* create FIFO pipe for remote control */ diff --git a/weechat/ChangeLog b/weechat/ChangeLog index 01d28b2fb..6e95e6749 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,10 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2005-03-21 +ChangeLog - 2005-03-24 Version 0.1.2 (under dev!): + * fixed crash with 64-bits arch (like AMD64) when converting UTF-8 * added missing IRC commands (307) Version 0.1.1 (2005-03-20): diff --git a/weechat/src/common/weechat.c b/weechat/src/common/weechat.c index 54e004316..dc8139089 100644 --- a/weechat/src/common/weechat.c +++ b/weechat/src/common/weechat.c @@ -116,7 +116,7 @@ weechat_convert_encoding (char *from_code, char *to_code, char *string) #ifdef HAVE_ICONV iconv_t cd; char *inbuf, *ptr_inbuf, *ptr_outbuf; - int inbytesleft, outbytesleft; + size_t inbytesleft, outbytesleft; if (from_code && from_code[0] && to_code && to_code[0] && (strcasecmp(from_code, to_code) != 0)) @@ -573,6 +573,9 @@ weechat_welcome_message () cfg_look_startup_version) gui_printf_color (NULL, COLOR_WIN_CHAT_PREFIX1, "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n"); + + wee_log_printf ("%s (%s %s %s)\n", + PACKAGE_STRING, _("compiled on"), __DATE__, __TIME__); } /* @@ -761,8 +764,8 @@ main (int argc, char *argv[]) } gui_init (); /* init WeeChat interface */ - plugin_init (); /* init plugin interface(s) */ weechat_welcome_message (); /* display WeeChat welcome message */ + plugin_init (); /* init plugin interface(s) */ /* auto-connect to servers */ server_auto_connect (server_cmd_line); fifo_create (); /* create FIFO pipe for remote control */