[ 
https://issues.apache.org/jira/browse/THRIFT-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771873#comment-13771873
 ] 

Vladimir Petrov commented on THRIFT-2198:
-----------------------------------------

I've reported right after i found the problem. Haven't solved it in the right 
way yet, i just harshly replaced _THRIFT_CLOSESOCKET_ with _close_ in my local 
working copy.
Hope to make a patch in the weekend.
                
> THRIFT_CLOSESOCKET on win32 platforms is wrong defined for TFileProtocol
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-2198
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2198
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.9.1
>            Reporter: Vladimir Petrov
>            Priority: Trivial
>
> During preprocessing TFileProtocol.cpp _THRIFT_CLOSESOCKET_ is replaced with 
> _closesocket_, not _close_ function, 1) it's wrong (we have no deals with 
> sockets there) 2)process run-time warning 3) don't close an opened file

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to