You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2013/12/26 06:15:50 UTC

[jira] [Updated] (THRIFT-2198) THRIFT_CLOSESOCKET on win32 platforms is wrong defined for TFileProtocol

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

Jake Farrell updated THRIFT-2198:
---------------------------------

    Component/s: C++ - Library

> 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
>          Components: C++ - Library
>    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) doesn't close an opened file



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)