commit | 315a19adfbf835234b91b6ae3d52fa8bc9369324 | [log] [tgz] |
---|---|---|
author | eric.yan <severecold@gmail.com> | Tue Feb 03 22:16:29 2015 +0800 |
committer | apachegroup <severecold@gmail.com> | Mon Feb 09 13:41:27 2015 +0000 |
tree | d110ecd49a80c63c000cf2ffbeacf2564565432f | |
parent | 5ac8b917ded904500f44c8c02b277a34eb9c14c7 [diff] |
fix bug that passing invalid fd to fstats on win32 builds lfd returned by adb_open is not the actual file desc. on win32 builds. calling through fstat with invalid fd will lead to crash, using stat instead. Change-Id: I7fdc8b825162eaa42efe8755265842c300b00e39 Signed-off-by: eric.yan <eric.yan@yulong.com> Signed-off-by: severecold <severecold@gmail.com>