[
https://issues.apache.org/jira/browse/THRIFT-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14484123#comment-14484123
]
Hudson commented on THRIFT-3077:
--------------------------------
FAILURE: Integrated in Thrift #1495 (See
[https://builds.apache.org/job/Thrift/1495/])
THRIFT-3077 TFileTransport fix ignored ftruncate result (roger: rev
8ccd634946077f8915385d5dbd320622b6e70ef3)
* lib/cpp/src/thrift/transport/TFileTransport.cpp
> C++ TFileTransport ignores return code from ftruncate
> -----------------------------------------------------
>
> Key: THRIFT-3077
> URL: https://issues.apache.org/jira/browse/THRIFT-3077
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 0.9.3
> Reporter: James E. King, III
> Assignee: Roger Meier
> Priority: Minor
> Fix For: 0.9.3
>
>
> If ftruncate fails, nobody will know...
> {code}src/thrift/transport/TFileTransport.cpp: In member function 'void
> apache::thrift::transport::TFileTransport::writerThread()':
> src/thrift/transport/TFileTransport.cpp:316:34: warning: ignoring return
> value of 'int ftruncate(int, __off_t)', declared with attribute
> warn_unused_result [-Wunused-result]
> THRIFT_FTRUNCATE(fd_, offset_);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)