Throw a transport exception if fstat fails.
authorDavid Reiss <dreiss@apache.org>
Thu, 1 May 2008 06:21:04 +0000 (06:21 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 1 May 2008 06:21:04 +0000 (06:21 +0000)
commitf233e46a2dc705f017d5980baa6ad97922b72291
tree1ace8edd19a260f76b55e117ce615da8b1e200b9
parent28f298dd5d9b68c9c0dbaefa95c88d51ed8e430a
Throw a transport exception if fstat fails.

This was failing on an NFS mount that was dying.
Better to fail hard then return uninitialized data.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665677 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/transport/TFileTransport.cpp