Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 299751 Details for
Bug 400609
net-mail/perdition-1.18 - fails to build with errors because of a multi line macro in net-libs/vanessa-socket
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch that will work around the problems to allow perdition to compile
perdition-1.18-ifelse.patch (text/plain), 1.95 KB, created by
pacasmae
on 2012-01-24 16:34:09 UTC
(
hide
)
Description:
A patch that will work around the problems to allow perdition to compile
Filename:
MIME Type:
Creator:
pacasmae
Created:
2012-01-24 16:34:09 UTC
Size:
1.95 KB
patch
obsolete
>--- perdition/perdition.c.orig 2012-01-24 15:44:41.000000000 +0000 >+++ perdition/perdition.c 2012-01-24 15:47:37.000000000 +0000 >@@ -704,15 +704,15 @@ > token_flush(); > if(status<0){ > VANESSA_LOGGER_DEBUG("protocol->in_get_pw"); >- if (io_get_err(client_io) == io_err_timeout) >+ if (io_get_err(client_io) == io_err_timeout) { > VANESSA_LOGGER_ERR_UNSAFE("Fatal Error: Timeout reading " > "authentication information from " > "client%s: Exiting child", >- from_to_host_str); >- else >+ from_to_host_str); } >+ else { > VANESSA_LOGGER_ERR_UNSAFE("Fatal Error reading authentication " > "information from client%s: " >- "Exiting child", from_to_host_str); >+ "Exiting child", from_to_host_str); } > perdition_exit_cleanly(-1); > } > else if(status == 1){ >@@ -944,12 +944,12 @@ > } > else if(status<0){ > VANESSA_LOGGER_DEBUG_UNSAFE("protocol->out_authenticate %d", status); >- if (io_get_err(client_io) == io_err_timeout) >+ if (io_get_err(client_io) == io_err_timeout) { > VANESSA_LOGGER_ERR("Fatal error: Timeout authenticating user. " >- "Exiting child."); >- else >+ "Exiting child."); } >+ else { > VANESSA_LOGGER_ERR("Fatal error authenticating user. Exiting child."); >- perdition_exit_cleanly(-1); >+ perdition_exit_cleanly(-1); } > } > > if(opt.server_resp_line){ >@@ -992,11 +992,11 @@ > if(io_pipe(server_io, client_io, buffer, BUFFER_SIZE, > &bytes_written, &bytes_read, &auth_log)<0){ > VANESSA_LOGGER_DEBUG("vanessa_socket_pipe"); >- if (io_get_err(client_io) == io_err_timeout) >+ if (io_get_err(client_io) == io_err_timeout) { > VANESSA_LOGGER_ERR("Fatal error: Timeout piping data. " >- "Exiting child."); >- else >- VANESSA_LOGGER_ERR("Fatal error piping data. Exiting child."); >+ "Exiting child."); } >+ else { >+ VANESSA_LOGGER_ERR("Fatal error piping data. Exiting child."); } > perdition_exit_cleanly(-1); > } >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 400609
: 299751