[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors

2014-09-11 Thread Dominic Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominic Evans updated PROTON-578:
-
Attachment: (was: 17_fix_winsock_error_code_printing.patch)

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> 
>
> Key: PROTON-578
> URL: https://issues.apache.org/jira/browse/PROTON-578
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Dominic Evans
>Assignee: Cliff Jansen
> Attachments: 10_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error 
> codes returned by WSAGetLastError(). However, these codes don't map to Unix 
> errno codes, so will always output an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors

2014-09-11 Thread Dominic Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominic Evans updated PROTON-578:
-
Attachment: 10_fix_winsock_error_code_printing.patch

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> 
>
> Key: PROTON-578
> URL: https://issues.apache.org/jira/browse/PROTON-578
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Dominic Evans
>Assignee: Cliff Jansen
> Attachments: 10_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error 
> codes returned by WSAGetLastError(). However, these codes don't map to Unix 
> errno codes, so will always output an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors

2014-05-10 Thread Rafael H. Schloming (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rafael H. Schloming updated PROTON-578:
---

Assignee: Cliff Jansen

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> 
>
> Key: PROTON-578
> URL: https://issues.apache.org/jira/browse/PROTON-578
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Dominic Evans
>Assignee: Cliff Jansen
> Attachments: 17_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error 
> codes returned by WSAGetLastError(). However, these codes don't map to Unix 
> errno codes, so will always output an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (PROTON-578) proton-c: windows/io.c prints "Unknown error" for all winsock errors

2014-05-06 Thread Dominic Evans (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dominic Evans updated PROTON-578:
-

Attachment: 17_fix_winsock_error_code_printing.patch

Attached patch will use FormatMessage() to get an appropriate error message 
from the WSA errors.

> proton-c: windows/io.c prints "Unknown error" for all winsock errors
> 
>
> Key: PROTON-578
> URL: https://issues.apache.org/jira/browse/PROTON-578
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Dominic Evans
> Attachments: 17_fix_winsock_error_code_printing.patch
>
>
> The code in windows/io.c is attempting to call strerror on Winsock WSA error 
> codes returned by WSAGetLastError(). However, these codes don't map to Unix 
> errno codes, so will always output an "Unknown error" msg.



--
This message was sent by Atlassian JIRA
(v6.2#6252)