Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 187671 Details for
Bug 256341
Review Request: micq - Text/line based ICQ client with many features
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
patch for micq 0.5.4.2 to fix glibc open issue
micq-0.5.4.2-glibc-open.patch (text/x-patch), 8.26 KB, created by
Mamoru TASAKA
on 2007-09-05 16:13:15 UTC
(
hide
)
Description:
patch for micq 0.5.4.2 to fix glibc open issue
Filename:
MIME Type:
Creator:
Mamoru TASAKA
Created:
2007-09-05 16:13:15 UTC
Size:
8.26 KB
patch
obsolete
>--- micq-0.5.4.2/src/cmd_user.c.open 2007-07-06 08:10:12.000000000 +0900 >+++ micq-0.5.4.2/src/cmd_user.c 2007-09-05 23:30:20.000000000 +0900 >@@ -4008,7 +4008,7 @@ > rl_printf (i18n (2081, " at %p parent %p assoc %p\n"), connl, connl->parent, connl->assoc); > #endif > rl_printf (i18n (2454, " open %p reconn %p close %p err %p dispatch %p\n"), >- connl->open, connl->reconnect, connl->close, connl->error, connl->dispatch); >+ (connl->open), connl->reconnect, connl->close, connl->error, connl->dispatch); > free (t1); > free (t2); > free (t3); >@@ -4052,13 +4052,13 @@ > s_repl (&connl->passwd, targs); > if (connl->connect & CONNECT_OK) > rl_printf (i18n (2601, "Connection for %s is already open.\n"), connl->screen); >- else if (!connl->open) >+ else if (!(connl->open)) > rl_printf (i18n (2602, "Don't know how to open connection type %s for %s.\n"), > ConnectionType (connl), connl->screen); > else if (!connl->passwd || !*connl->passwd) > rl_printf (i18n (2688, "No password given for %s.\n"), connl->screen); > else >- connl->open (connl); >+ (connl->open) (connl); > break; > > case 3: >--- micq-0.5.4.2/src/file_util.c.open 2007-04-18 07:03:26.000000000 +0900 >+++ micq-0.5.4.2/src/file_util.c 2007-09-05 23:25:26.000000000 +0900 >@@ -66,7 +66,7 @@ > if (servertype == TYPE_SERVER) > { > conn = ConnectionC (servertype); >- conn->open = &ConnectionInitServer; >+ (conn->open) = &ConnectionInitServer; > > conn->flags |= CONN_AUTOLOGIN; > conn->pref_server = strdup ("login.icq.com"); >@@ -101,7 +101,7 @@ > const char *serverpart = strchr (user, '@') + 1; > > conn = ConnectionC (servertype); >- conn->open = &ConnectionInitXMPPServer; >+ (conn->open) = &ConnectionInitXMPPServer; > > conn->flags |= CONN_AUTOLOGIN; > if (!strcmp (serverpart, "gmail.com") || !strcmp (serverpart, "gmail.com")) >@@ -138,7 +138,7 @@ > else if (servertype == TYPE_MSN_SERVER) > { > conn = ConnectionC (servertype); >- conn->open = &ConnectionInitMSNServer; >+ (conn->open) = &ConnectionInitMSNServer; > > conn->flags |= CONN_AUTOLOGIN; > conn->pref_server = strdup (strchr (user, '@') + 1); >@@ -310,7 +310,7 @@ > } > #ifdef ENABLE_REMOTECONTROL > conns = ConnectionC (TYPE_REMOTE); >- conns->open = &RemoteOpen; >+ (conns->open) = &RemoteOpen; > conns->flags |= CONN_AUTOLOGIN; > conns->pref_server = strdup ("scripting"); > conns->server = strdup (conns->pref_server); >@@ -1231,35 +1231,35 @@ > switch (conn->type) > { > case TYPE_SERVER: >- conn->open = &ConnectionInitServer; >+ (conn->open) = &ConnectionInitServer; > break; > case TYPE_SERVER_OLD: >- conn->open = &ConnectionInitServerV5; >+ (conn->open) = &ConnectionInitServerV5; > break; > #ifdef ENABLE_MSN > case TYPE_MSN_SERVER: >- conn->open = &ConnectionInitMSNServer; >+ (conn->open) = &ConnectionInitMSNServer; > break; > #endif > #ifdef ENABLE_XMPP > case TYPE_XMPP_SERVER: >- conn->open = &ConnectionInitXMPPServer; >+ (conn->open) = &ConnectionInitXMPPServer; > break; > #endif > #ifdef ENABLE_PEER2PEER > case TYPE_MSGLISTEN: >- conn->open = &ConnectionInitPeer; >+ (conn->open) = &ConnectionInitPeer; > break; > #endif > #ifdef ENABLE_REMOTECONTROL > case TYPE_REMOTE: >- conn->open = &RemoteOpen; >+ (conn->open) = &RemoteOpen; > connr = conn; > break; > #endif > default: > conn->type = 0; >- conn->open = NULL; >+ (conn->open) = NULL; > break; > } > if (format < 2 && !conn->contacts && conn->type & TYPEF_SERVER) >@@ -1275,7 +1275,7 @@ > if (!connr) > { > connr = ConnectionC (TYPE_REMOTE); >- connr->open = &RemoteOpen; >+ (connr->open) = &RemoteOpen; > connr->pref_server = strdup ("scripting"); > connr->parent = NULL; > connr->server = strdup (connr->pref_server); >--- micq-0.5.4.2/src/micq.c.open 2007-05-30 07:57:38.000000000 +0900 >+++ micq-0.5.4.2/src/micq.c 2007-09-05 23:20:35.000000000 +0900 >@@ -467,7 +467,7 @@ > } > > for (i = 0; (conn = ConnectionNr (i)); i++) >- if (conn->open && conn->flags & CONN_AUTOLOGIN) >+ if ((conn->open) && conn->flags & CONN_AUTOLOGIN) > if (conn->type & TYPEF_ANY_SERVER) > conn->status = conn->pref_status; > >@@ -505,7 +505,7 @@ > conn->status = arg_ss; > if (arg_p) > s_repl (&conn->passwd, arg_p); >- if (conn->passwd && *conn->passwd && (!arg_s || arg_ss != ims_offline) && (loginevent = conn->open (conn))) >+ if (conn->passwd && *conn->passwd && (!arg_s || arg_ss != ims_offline) && (loginevent = (conn->open) (conn))) > QueueEnqueueDep (conn, QUEUE_MICQ_COMMAND, 0, loginevent, NULL, conn->cont, > OptSetVals (NULL, CO_MICQCOMMAND, arg_C.len ? arg_C.txt : "eg", 0), > &CmdUserCallbackTodo); >@@ -538,7 +538,7 @@ > > if (!uingiven) > for (i = 0; (conn = ConnectionNr (i)); i++) >- if (conn->open && conn->flags & CONN_AUTOLOGIN) >+ if ((conn->open) && conn->flags & CONN_AUTOLOGIN) > if (conn->type & TYPEF_ANY_SERVER) > if (!conn->passwd || !*conn->passwd) > { >@@ -554,17 +554,17 @@ > if (!uingiven) > { > for (i = 0; (conn = ConnectionNr (i)); i++) >- if (conn->open && conn->flags & CONN_AUTOLOGIN) >+ if ((conn->open) && conn->flags & CONN_AUTOLOGIN) > { > if (conn->type & TYPEF_ANY_SERVER) > { >- if (conn->passwd && *conn->passwd && conn->status != ims_offline && (loginevent = conn->open (conn))) >+ if (conn->passwd && *conn->passwd && conn->status != ims_offline && (loginevent = (conn->open) (conn))) > QueueEnqueueDep (conn, QUEUE_MICQ_COMMAND, 0, loginevent, NULL, conn->cont, > OptSetVals (NULL, CO_MICQCOMMAND, arg_C.len ? arg_C.txt : "eg", 0), > &CmdUserCallbackTodo); > } > else >- conn->open (conn); >+ (conn->open) (conn); > } > } > s_done (&arg_C); >--- micq-0.5.4.2/src/msn_base.cpp.open 2007-05-12 22:22:03.000000000 +0900 >+++ micq-0.5.4.2/src/msn_base.cpp 2007-09-05 23:28:41.000000000 +0900 >@@ -101,7 +101,7 @@ > > cb->serv = serv; > MyCallbackSetMICQ (serv, cb); >- serv->open = &ConnectionInitMSNServer; >+ (serv->open) = &ConnectionInitMSNServer; > serv->reconnect = &MsnCallbackReconn; > serv->error = &MsnCallbackError; > serv->close = &MsnCallbackClose; >--- micq-0.5.4.2/src/oscar_register.c.open 2007-06-11 04:32:28.000000000 +0900 >+++ micq-0.5.4.2/src/oscar_register.c 2007-09-05 23:27:43.000000000 +0900 >@@ -154,10 +154,10 @@ > serv->flags |= CONN_CONFIGURED; > if (serv->flags & CONN_WIZARD) > { >- assert (serv->open); >+ assert ((serv->open)); > #ifdef ENABLE_PEER2PEER > assert (serv->assoc); >- assert (serv->assoc->open); >+ assert ((serv->assoc->open)); > serv->assoc->flags |= CONN_AUTOLOGIN; > #endif > serv->flags |= CONN_AUTOLOGIN; >@@ -172,9 +172,9 @@ > if (Save_RC () == -1) > rl_print (i18n (1679, "Sorry saving your personal reply messages went wrong!\n")); > #ifdef ENABLE_PEER2PEER >- serv->assoc->open (serv->assoc); >+ (serv->assoc->open) (serv->assoc); > #endif >- serv->open (serv); >+ (serv->open) (serv); > } > else > rl_print (i18n (2518, "You need to 'save' to write your new UIN to disc.\n"));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 256341
: 187671